public function testOpenSearchController(): void
{
- $this->createValidContainerMockSet();
-
$request = $this->createMock(Request::class);
$response = new Response();
$result->getHeader('Content-Type')[0]
);
static::assertSame('opensearch', (string) $result->getBody());
- static::assertSame('http://shaarli', $assignedVariables['serverurl']);
+ static::assertSame('http://shaarli/subfolder/', $assignedVariables['serverurl']);
}
}