mirror of https://github.com/rails/rails
Merge pull request #42829 from yahonda/diag79471
Address FixturesWithForeignKeyViolationsTest#test_does_not_raise_if_no_fk_violations error
This commit is contained in:
commit
5d78c54a46
|
@ -5,7 +5,7 @@ require "models/author"
|
|||
require "models/post"
|
||||
|
||||
class Mysql2ExplainTest < ActiveRecord::Mysql2TestCase
|
||||
fixtures :authors
|
||||
fixtures :authors, :author_addresses
|
||||
|
||||
def test_explain_for_one_query
|
||||
explain = Author.where(id: 1).explain
|
||||
|
|
|
@ -5,7 +5,7 @@ require "models/author"
|
|||
require "models/post"
|
||||
|
||||
class PostgreSQLExplainTest < ActiveRecord::PostgreSQLTestCase
|
||||
fixtures :authors
|
||||
fixtures :authors, :author_addresses
|
||||
|
||||
def test_explain_for_one_query
|
||||
explain = Author.where(id: 1).explain
|
||||
|
|
|
@ -5,7 +5,7 @@ require "models/author"
|
|||
require "models/post"
|
||||
|
||||
class SQLite3ExplainTest < ActiveRecord::SQLite3TestCase
|
||||
fixtures :authors
|
||||
fixtures :authors, :author_addresses
|
||||
|
||||
def test_explain_for_one_query
|
||||
explain = Author.where(id: 1).explain
|
||||
|
|
Loading…
Reference in New Issue