From b2c48977bb34f4f59eba06f5b363f281deae2ef0 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Fri, 15 Apr 2011 07:56:50 +0200 Subject: use xml parser, not html --- tests/www/searchTest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests') 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 ); } -- cgit v1.2.3-54-g00ecf