]> gitweb.fluxo.info Git - semanticscuttle.git/commitdiff
use xml parser, not html
authorChristian Weiske <cweiske@cweiske.de>
Fri, 15 Apr 2011 05:56:50 +0000 (07:56 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Fri, 15 Apr 2011 05:56:50 +0000 (07:56 +0200)
tests/www/searchTest.php

index 81eb2cc22895e9a5b572fa77ea81287d7620e2cd..e783a49ae761b468dfdd170b51e44442ef8d537f 100644 (file)
@@ -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
         );
     }