aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/front/controller/visitor/OpenSearchControllerTest.php
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2020-09-03 14:52:34 +0200
committerArthurHoaro <arthur@hoa.ro>2020-09-12 21:39:01 +0200
commitb93cfeba7b5ddb8b20d805017404e73eafd68c95 (patch)
treec99dfd008bc9f5869358b95916831e4f82a62d7f /tests/front/controller/visitor/OpenSearchControllerTest.php
parent650a5f09cbeb1c1bef19810c6cc504c06d5b7e87 (diff)
downloadShaarli-b93cfeba7b5ddb8b20d805017404e73eafd68c95.tar.gz
Shaarli-b93cfeba7b5ddb8b20d805017404e73eafd68c95.tar.zst
Shaarli-b93cfeba7b5ddb8b20d805017404e73eafd68c95.zip
Fix subfolder configuration in unit tests
Diffstat (limited to 'tests/front/controller/visitor/OpenSearchControllerTest.php')
-rw-r--r--tests/front/controller/visitor/OpenSearchControllerTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/front/controller/visitor/OpenSearchControllerTest.php b/tests/front/controller/visitor/OpenSearchControllerTest.php
index 5f9f5b12..9609a377 100644
--- a/tests/front/controller/visitor/OpenSearchControllerTest.php
+++ b/tests/front/controller/visitor/OpenSearchControllerTest.php
@@ -39,6 +39,6 @@ class OpenSearchControllerTest extends TestCase
39 $result->getHeader('Content-Type')[0] 39 $result->getHeader('Content-Type')[0]
40 ); 40 );
41 static::assertSame('opensearch', (string) $result->getBody()); 41 static::assertSame('opensearch', (string) $result->getBody());
42 static::assertSame('http://shaarli', $assignedVariables['serverurl']); 42 static::assertSame('http://shaarli/subfolder/', $assignedVariables['serverurl']);
43 } 43 }
44} 44}