aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/front/controller/admin/LogoutControllerTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/front/controller/admin/LogoutControllerTest.php')
-rw-r--r--tests/front/controller/admin/LogoutControllerTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/front/controller/admin/LogoutControllerTest.php b/tests/front/controller/admin/LogoutControllerTest.php
index 78a0fe73..ca177085 100644
--- a/tests/front/controller/admin/LogoutControllerTest.php
+++ b/tests/front/controller/admin/LogoutControllerTest.php
@@ -49,7 +49,7 @@ class LogoutControllerTest extends TestCase
49 49
50 static::assertInstanceOf(Response::class, $result); 50 static::assertInstanceOf(Response::class, $result);
51 static::assertSame(302, $result->getStatusCode()); 51 static::assertSame(302, $result->getStatusCode());
52 static::assertContains('./', $result->getHeader('Location')); 52 static::assertSame(['/subfolder/'], $result->getHeader('location'));
53 static::assertSame('false', $_COOKIE[LoginManager::$STAY_SIGNED_IN_COOKIE]); 53 static::assertSame('false', $_COOKIE[LoginManager::$STAY_SIGNED_IN_COOKIE]);
54 } 54 }
55} 55}