diff options
Diffstat (limited to 'tests/front/controller/visitor/LoginControllerTest.php')
-rw-r--r-- | tests/front/controller/visitor/LoginControllerTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/front/controller/visitor/LoginControllerTest.php b/tests/front/controller/visitor/LoginControllerTest.php index faa8ac71..e57f44b9 100644 --- a/tests/front/controller/visitor/LoginControllerTest.php +++ b/tests/front/controller/visitor/LoginControllerTest.php | |||
@@ -95,7 +95,7 @@ class LoginControllerTest extends TestCase | |||
95 | 95 | ||
96 | static::assertInstanceOf(Response::class, $result); | 96 | static::assertInstanceOf(Response::class, $result); |
97 | static::assertSame(302, $result->getStatusCode()); | 97 | static::assertSame(302, $result->getStatusCode()); |
98 | static::assertSame(['./'], $result->getHeader('Location')); | 98 | static::assertSame(['/subfolder/'], $result->getHeader('Location')); |
99 | } | 99 | } |
100 | 100 | ||
101 | public function testLoginControllerOpenShaarli(): void | 101 | public function testLoginControllerOpenShaarli(): void |
@@ -116,7 +116,7 @@ class LoginControllerTest extends TestCase | |||
116 | 116 | ||
117 | static::assertInstanceOf(Response::class, $result); | 117 | static::assertInstanceOf(Response::class, $result); |
118 | static::assertSame(302, $result->getStatusCode()); | 118 | static::assertSame(302, $result->getStatusCode()); |
119 | static::assertSame(['./'], $result->getHeader('Location')); | 119 | static::assertSame(['/subfolder/'], $result->getHeader('Location')); |
120 | } | 120 | } |
121 | 121 | ||
122 | public function testLoginControllerWhileBanned(): void | 122 | public function testLoginControllerWhileBanned(): void |