diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-10-24 11:37:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-24 11:37:29 +0200 |
commit | 820cae27cfcc94af552818f3f1e5342e00478f6c (patch) | |
tree | 20eb1cd95987088a7afc3602e8b712448ef05a93 /tests/front/controller/visitor/LoginControllerTest.php | |
parent | 8f6e3d51ccb2df513aadeabafbc5bfffe38b8608 (diff) | |
parent | b38a1b0209f546d4824a0db81a34c4e30fcdebaf (diff) | |
download | Shaarli-820cae27cfcc94af552818f3f1e5342e00478f6c.tar.gz Shaarli-820cae27cfcc94af552818f3f1e5342e00478f6c.tar.zst Shaarli-820cae27cfcc94af552818f3f1e5342e00478f6c.zip |
Merge pull request #1601 from ArthurHoaro/feature/psr3
Diffstat (limited to 'tests/front/controller/visitor/LoginControllerTest.php')
-rw-r--r-- | tests/front/controller/visitor/LoginControllerTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/front/controller/visitor/LoginControllerTest.php b/tests/front/controller/visitor/LoginControllerTest.php index 1312ccb7..00d9eab3 100644 --- a/tests/front/controller/visitor/LoginControllerTest.php +++ b/tests/front/controller/visitor/LoginControllerTest.php | |||
@@ -195,7 +195,7 @@ class LoginControllerTest extends TestCase | |||
195 | $this->container->loginManager | 195 | $this->container->loginManager |
196 | ->expects(static::once()) | 196 | ->expects(static::once()) |
197 | ->method('checkCredentials') | 197 | ->method('checkCredentials') |
198 | ->with('1.2.3.4', '1.2.3.4', 'bob', 'pass') | 198 | ->with('1.2.3.4', 'bob', 'pass') |
199 | ->willReturn(true) | 199 | ->willReturn(true) |
200 | ; | 200 | ; |
201 | $this->container->loginManager->method('getStaySignedInToken')->willReturn(bin2hex(random_bytes(8))); | 201 | $this->container->loginManager->method('getStaySignedInToken')->willReturn(bin2hex(random_bytes(8))); |