mirror of
https://github.com/discourse/discourse.git
synced 2026-08-13 06:25:11 -05:00
DEV: Stablize postgresql fallback adapter spec.
This commit is contained in:
@@ -37,6 +37,7 @@ describe ActiveRecord::ConnectionHandling do
|
|||||||
after do
|
after do
|
||||||
postgresql_fallback_handler.setup!
|
postgresql_fallback_handler.setup!
|
||||||
postgresql_fallback_handler.clear_connections
|
postgresql_fallback_handler.clear_connections
|
||||||
|
Discourse.disable_readonly_mode(Discourse::PG_READONLY_MODE_KEY)
|
||||||
end
|
end
|
||||||
|
|
||||||
describe "#postgresql_fallback_connection" do
|
describe "#postgresql_fallback_connection" do
|
||||||
|
|||||||
Reference in New Issue
Block a user