Merge pull request #42829 from yahonda/diag79471

Address FixturesWithForeignKeyViolationsTest#test_does_not_raise_if_no_fk_violations error
This commit is contained in:
Ryuta Kamizono 2021-07-21 18:05:10 +09:00 committed by GitHub
commit 5d78c54a46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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