]> gitweb.fluxo.info Git - semanticscuttle.git/commitdiff
add test to search for multiple tags, which fails currently
authorChristian Weiske <cweiske@cweiske.de>
Fri, 15 Apr 2011 17:15:57 +0000 (19:15 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Fri, 15 Apr 2011 17:15:57 +0000 (19:15 +0200)
tests/www/searchTest.php

index cd7b2a50a3eafc5ca6febdb07281b4dd4e715c57..1220667d18ac4748bde118c46af78c4871df6c0e 100644 (file)
@@ -48,6 +48,21 @@ class www_SearchTest extends TestBaseApi
         );
     }
 
+
+    public function testMultipleTags()
+    {
+        $this->markTestSkipped(
+            'FIXME: SemanticScuttle currently does not search multiple tags'
+        );
+
+        $this->addBookmark(null, null, 0, array('foo', 'bar'));
+        $res = $this->getRequest('/all/foo+bar')->send();
+        $this->assertSelectCount(
+            '.xfolkentry', true, $res->getBody(),
+            'No bookmark found', false
+        );
+    }
+
 }
 
 ?>
\ No newline at end of file