aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/front
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2020-07-24 10:30:47 +0200
committerArthurHoaro <arthur@hoa.ro>2020-07-24 10:30:47 +0200
commit87ae3c4f08431e02869376cb57add257747910d1 (patch)
treeb8d75a44b7adf79fcd6e0ea84fb5c8c7a1e37506 /tests/front
parent8e9169cebaf5697344cb373d69fe429e8e0efd5d (diff)
downloadShaarli-87ae3c4f08431e02869376cb57add257747910d1.tar.gz
Shaarli-87ae3c4f08431e02869376cb57add257747910d1.tar.zst
Shaarli-87ae3c4f08431e02869376cb57add257747910d1.zip
Fix default link and redirection in install controller
Diffstat (limited to 'tests/front')
-rw-r--r--tests/front/controller/visitor/InstallControllerTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/front/controller/visitor/InstallControllerTest.php b/tests/front/controller/visitor/InstallControllerTest.php
index 29c4d7a0..089c64ac 100644
--- a/tests/front/controller/visitor/InstallControllerTest.php
+++ b/tests/front/controller/visitor/InstallControllerTest.php
@@ -236,7 +236,7 @@ class InstallControllerTest extends TestCase
236 $result = $this->controller->save($request, $response); 236 $result = $this->controller->save($request, $response);
237 237
238 static::assertSame(302, $result->getStatusCode()); 238 static::assertSame(302, $result->getStatusCode());
239 static::assertSame('/subfolder/', $result->getHeader('location')[0]); 239 static::assertSame('/subfolder/login', $result->getHeader('location')[0]);
240 } 240 }
241 241
242 /** 242 /**
@@ -257,7 +257,7 @@ class InstallControllerTest extends TestCase
257 $result = $this->controller->save($request, $response); 257 $result = $this->controller->save($request, $response);
258 258
259 static::assertSame(302, $result->getStatusCode()); 259 static::assertSame(302, $result->getStatusCode());
260 static::assertSame('/subfolder/', $result->getHeader('location')[0]); 260 static::assertSame('/subfolder/login', $result->getHeader('location')[0]);
261 261
262 static::assertSame('UTC', $confSettings['general.timezone']); 262 static::assertSame('UTC', $confSettings['general.timezone']);
263 static::assertSame('Shared bookmarks on http://shaarli', $confSettings['general.title']); 263 static::assertSame('Shared bookmarks on http://shaarli', $confSettings['general.title']);