mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 22:26:26 +08:00
Missed a spot in 45fe5dc793
This commit is contained in:
parent
050ce48bd0
commit
98d880b67a
|
@ -188,7 +188,7 @@ describe DiscourseRedis do
|
|||
|
||||
it 'should fallback to the master server once it is up' do
|
||||
fallback_handler.master = false
|
||||
redis_connection = DiscourseRedis.raw_connection.client
|
||||
redis_connection = DiscourseRedis.raw_connection._client
|
||||
Redis::Client.expects(:new).with(DiscourseRedis.slave_config).returns(redis_connection)
|
||||
|
||||
redis_connection.expects(:call).with([:info]).returns(DiscourseRedis::FallbackHandler::MASTER_LINK_STATUS)
|
||||
|
|
Loading…
Reference in New Issue
Block a user