summaryrefslogtreecommitdiff
path: root/tests/Api
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2011-05-12 19:09:30 +0200
committerChristian Weiske <cweiske@cweiske.de>2011-05-12 19:09:30 +0200
commitaea9c9ddbb1c0fd51192ebdcb1d1dfa258298e8c (patch)
tree78ec00d1b269027bf58c7aa1a9f66a833aa5a0d5 /tests/Api
parentf647c4847783101edd32d48eeec3131fe2e48bd8 (diff)
downloadsemanticscuttle-aea9c9ddbb1c0fd51192ebdcb1d1dfa258298e8c.tar.gz
semanticscuttle-aea9c9ddbb1c0fd51192ebdcb1d1dfa258298e8c.tar.bz2
fix a test that failed when using a base URL without protocol
Diffstat (limited to 'tests/Api')
-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);