summaryrefslogtreecommitdiff
path: root/tests/www
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2011-04-15 07:56:50 +0200
committerChristian Weiske <cweiske@cweiske.de>2011-04-15 07:56:50 +0200
commitb2c48977bb34f4f59eba06f5b363f281deae2ef0 (patch)
tree3b514828b64f2c111424cb9a6f44ea5efcd117ad /tests/www
parenta25838b267f76c027318df268797842b52d6ecea (diff)
downloadsemanticscuttle-b2c48977bb34f4f59eba06f5b363f281deae2ef0.tar.gz
semanticscuttle-b2c48977bb34f4f59eba06f5b363f281deae2ef0.tar.bz2
use xml parser, not html
Diffstat (limited to 'tests/www')
-rw-r--r--tests/www/searchTest.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/www/searchTest.php b/tests/www/searchTest.php
index 81eb2cc..e783a49 100644
--- a/tests/www/searchTest.php
+++ b/tests/www/searchTest.php
@@ -16,13 +16,13 @@ class www_SearchTest extends TestBaseApi
$res = $this->getRequest('/all/foo+bar')->send();
$this->assertSelectCount(
'.xfolkentry', true, $res->getBody(),
- 'No bookmark found'
+ 'No bookmark found', false
);
$res = $this->getRequest('/all/baz+bat')->send();
$this->assertSelectCount(
'.xfolkentry', false, $res->getBody(),
- 'Bookmarks found'
+ 'Bookmarks found', false
);
}
@@ -38,13 +38,13 @@ class www_SearchTest extends TestBaseApi
$res = $this->getRequest('/all/foo bar')->send();
$this->assertSelectCount(
'.xfolkentry', true, $res->getBody(),
- 'No bookmark found'
+ 'No bookmark found', false
);
$res = $this->getRequest('/all/baz bat')->send();
$this->assertSelectCount(
'.xfolkentry', false, $res->getBody(),
- 'Bookmarks found'
+ 'Bookmarks found', false
);
}