mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Revert "Merge pull request #19881 from sikachu/silence-mysql-errno-warning"
This reverts commit55d9e494e8
, reversing changes made to03e987cd8f
. Legacy mysql adapter is already removed in #22642.
This commit is contained in:
parent
3afa536c42
commit
f08ae57955
1 changed files with 1 additions and 3 deletions
|
@ -23,10 +23,8 @@ class TestDisconnectedAdapter < ActiveRecord::TestCase
|
|||
@connection.execute "SELECT count(*) from products"
|
||||
@connection.disconnect!
|
||||
assert_raises(ActiveRecord::StatementInvalid) do
|
||||
silence_warnings do
|
||||
@connection.execute "SELECT count(*) from products"
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue