提交 abfc1db0 编写于 作者: R Ryuta Kamizono

Fix test case to ensure default connection id is filled

Follow up of #33798.
上级 4b010b08
......@@ -39,10 +39,10 @@ class RedisAdapterTest::Connector < ActionCable::TestCase
end
test "adds default id if it is not specified" do
config = { url: 1, host: 2, port: 3, db: 4, password: 5, id: "ActionCable1-PID-#{$$}" }
config = { url: 1, host: 2, port: 3, db: 4, password: 5, id: "ActionCable-PID-#{$$}" }
assert_called_with ::Redis, :new, [ config ] do
connect config
connect config.except(:id)
end
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册