mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
Use 10k most common passwords instead of 5k
This commit is contained in:
parent
ce381860dc
commit
014bfc0512
3 changed files with 4 additions and 4 deletions
|
@ -51,7 +51,7 @@ describe CommonPasswords do
|
|||
it "doesn't load the passwords file if redis has it" do
|
||||
mock_redis = mock("redis")
|
||||
mock_redis.stubs(:exists).returns(true)
|
||||
mock_redis.stubs(:scard).returns(5000)
|
||||
mock_redis.stubs(:scard).returns(10000)
|
||||
described_class.stubs(:redis).returns(mock_redis)
|
||||
described_class.expects(:load_passwords).never
|
||||
list = described_class.password_list
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue