X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tests%2FLoginManagerTest.php;h=27ca0db5730b812baf0b20f96232c5c95501c638;hb=63ea23c2a67d2a1cf6cda79fa2fe49a143571cde;hp=4159038ef0c77499a7e0cd48a0c4d5d74ec28020;hpb=91f17fc92a7168e2baf1096910b8f44f3a24a8a2;p=github%2Fshaarli%2FShaarli.git diff --git a/tests/LoginManagerTest.php b/tests/LoginManagerTest.php index 4159038e..27ca0db5 100644 --- a/tests/LoginManagerTest.php +++ b/tests/LoginManagerTest.php @@ -38,7 +38,7 @@ class LoginManagerTest extends TestCase $this->globals = &$GLOBALS; unset($this->globals['IPBANS']); - $this->loginManager = new LoginManager($this->globals, $this->configManager); + $this->loginManager = new LoginManager($this->globals, $this->configManager, null); $this->server['REMOTE_ADDR'] = $this->ipAddr; } @@ -59,7 +59,7 @@ class LoginManagerTest extends TestCase $this->banFile, " array('127.0.0.1' => 99));\n?>" ); - new LoginManager($this->globals, $this->configManager); + new LoginManager($this->globals, $this->configManager, null); $this->assertEquals(99, $this->globals['IPBANS']['FAILURES']['127.0.0.1']); }