diff options
Diffstat (limited to 'tests/front/controller/visitor/TagControllerTest.php')
-rw-r--r-- | tests/front/controller/visitor/TagControllerTest.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/front/controller/visitor/TagControllerTest.php b/tests/front/controller/visitor/TagControllerTest.php index 1242a2e9..43076086 100644 --- a/tests/front/controller/visitor/TagControllerTest.php +++ b/tests/front/controller/visitor/TagControllerTest.php | |||
@@ -64,7 +64,7 @@ class TagControllerTest extends TestCase | |||
64 | 64 | ||
65 | static::assertInstanceOf(Response::class, $result); | 65 | static::assertInstanceOf(Response::class, $result); |
66 | static::assertSame(302, $result->getStatusCode()); | 66 | static::assertSame(302, $result->getStatusCode()); |
67 | static::assertSame(['./?searchtags=abc'], $result->getHeader('location')); | 67 | static::assertSame(['/subfolder/?searchtags=abc'], $result->getHeader('location')); |
68 | } | 68 | } |
69 | 69 | ||
70 | public function testAddTagRemoveLegacyQueryParam(): void | 70 | public function testAddTagRemoveLegacyQueryParam(): void |
@@ -138,7 +138,7 @@ class TagControllerTest extends TestCase | |||
138 | 138 | ||
139 | static::assertInstanceOf(Response::class, $result); | 139 | static::assertInstanceOf(Response::class, $result); |
140 | static::assertSame(302, $result->getStatusCode()); | 140 | static::assertSame(302, $result->getStatusCode()); |
141 | static::assertSame(['./'], $result->getHeader('location')); | 141 | static::assertSame(['/subfolder/'], $result->getHeader('location')); |
142 | } | 142 | } |
143 | 143 | ||
144 | public function testRemoveTagWithoutMatchingTag(): void | 144 | public function testRemoveTagWithoutMatchingTag(): void |
@@ -184,7 +184,7 @@ class TagControllerTest extends TestCase | |||
184 | 184 | ||
185 | static::assertInstanceOf(Response::class, $result); | 185 | static::assertInstanceOf(Response::class, $result); |
186 | static::assertSame(302, $result->getStatusCode()); | 186 | static::assertSame(302, $result->getStatusCode()); |
187 | static::assertSame(['./'], $result->getHeader('location')); | 187 | static::assertSame(['/subfolder/'], $result->getHeader('location')); |
188 | } | 188 | } |
189 | 189 | ||
190 | public function testRemoveTagWithoutTag(): void | 190 | public function testRemoveTagWithoutTag(): void |
@@ -210,6 +210,6 @@ class TagControllerTest extends TestCase | |||
210 | 210 | ||
211 | static::assertInstanceOf(Response::class, $result); | 211 | static::assertInstanceOf(Response::class, $result); |
212 | static::assertSame(302, $result->getStatusCode()); | 212 | static::assertSame(302, $result->getStatusCode()); |
213 | static::assertSame(['./'], $result->getHeader('location')); | 213 | static::assertSame(['/subfolder/'], $result->getHeader('location')); |
214 | } | 214 | } |
215 | } | 215 | } |