aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/front/controller/admin/ConfigureControllerTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/front/controller/admin/ConfigureControllerTest.php')
-rw-r--r--tests/front/controller/admin/ConfigureControllerTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/front/controller/admin/ConfigureControllerTest.php b/tests/front/controller/admin/ConfigureControllerTest.php
index 40304a18..f2f84bac 100644
--- a/tests/front/controller/admin/ConfigureControllerTest.php
+++ b/tests/front/controller/admin/ConfigureControllerTest.php
@@ -142,7 +142,7 @@ class ConfigureControllerTest extends TestCase
142 142
143 $result = $this->controller->save($request, $response); 143 $result = $this->controller->save($request, $response);
144 static::assertSame(302, $result->getStatusCode()); 144 static::assertSame(302, $result->getStatusCode());
145 static::assertSame(['./configure'], $result->getHeader('Location')); 145 static::assertSame(['/subfolder/admin/configure'], $result->getHeader('Location'));
146 146
147 static::assertArrayNotHasKey(SessionManager::KEY_WARNING_MESSAGES, $session); 147 static::assertArrayNotHasKey(SessionManager::KEY_WARNING_MESSAGES, $session);
148 static::assertArrayNotHasKey(SessionManager::KEY_ERROR_MESSAGES, $session); 148 static::assertArrayNotHasKey(SessionManager::KEY_ERROR_MESSAGES, $session);
@@ -193,7 +193,7 @@ class ConfigureControllerTest extends TestCase
193 $result = $this->controller->save($request, $response); 193 $result = $this->controller->save($request, $response);
194 194
195 static::assertSame(302, $result->getStatusCode()); 195 static::assertSame(302, $result->getStatusCode());
196 static::assertSame(['./configure'], $result->getHeader('Location')); 196 static::assertSame(['/subfolder/admin/configure'], $result->getHeader('Location'));
197 197
198 static::assertArrayNotHasKey(SessionManager::KEY_ERROR_MESSAGES, $session); 198 static::assertArrayNotHasKey(SessionManager::KEY_ERROR_MESSAGES, $session);
199 static::assertArrayHasKey(SessionManager::KEY_WARNING_MESSAGES, $session); 199 static::assertArrayHasKey(SessionManager::KEY_WARNING_MESSAGES, $session);
@@ -242,7 +242,7 @@ class ConfigureControllerTest extends TestCase
242 $result = $this->controller->save($request, $response); 242 $result = $this->controller->save($request, $response);
243 243
244 static::assertSame(302, $result->getStatusCode()); 244 static::assertSame(302, $result->getStatusCode());
245 static::assertSame(['./configure'], $result->getHeader('Location')); 245 static::assertSame(['/subfolder/admin/configure'], $result->getHeader('Location'));
246 246
247 static::assertArrayNotHasKey(SessionManager::KEY_ERROR_MESSAGES, $session); 247 static::assertArrayNotHasKey(SessionManager::KEY_ERROR_MESSAGES, $session);
248 static::assertArrayNotHasKey(SessionManager::KEY_WARNING_MESSAGES, $session); 248 static::assertArrayNotHasKey(SessionManager::KEY_WARNING_MESSAGES, $session);