summaryrefslogtreecommitdiff
path: root/tests/Api/OpenSearchTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Api/OpenSearchTest.php')
-rw-r--r--tests/Api/OpenSearchTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Api/OpenSearchTest.php b/tests/Api/OpenSearchTest.php
index 050713b..f438b46 100644
--- a/tests/Api/OpenSearchTest.php
+++ b/tests/Api/OpenSearchTest.php
@@ -27,7 +27,7 @@ class Api_OpenSearchTest extends TestBaseApi
1, count($arElements),
'OpenSearch link in HTML is missing'
);
- $searchDescUrl = (string)$arElements[0]['href'];
+ $searchDescUrl = $this->completeUrl((string)$arElements[0]['href']);
$this->assertNotNull($searchDescUrl, 'Search description URL is empty');
$req = new HTTP_Request2($searchDescUrl);