mirror of
https://github.com/discourse/discourse.git
synced 2025-02-17 16:55:08 +00:00
DEV: Stablize postgresql fallback adapter spec.
This commit is contained in:
parent
91557063d8
commit
f9761c41a9
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user