From: Christian Weiske Date: Fri, 15 Apr 2011 05:56:50 +0000 (+0200) Subject: use xml parser, not html X-Git-Tag: v0.98.0~78 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=b2c48977bb34f4f59eba06f5b363f281deae2ef0;p=semanticscuttle.git use xml parser, not html --- 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 ); }