From a1989cff0675642146e0ba52aac4c6b10cdd9ae5 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Fri, 15 Apr 2011 19:15:57 +0200 Subject: [PATCH] add test to search for multiple tags, which fails currently --- tests/www/searchTest.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/tests/www/searchTest.php b/tests/www/searchTest.php index cd7b2a5..1220667 100644 --- a/tests/www/searchTest.php +++ b/tests/www/searchTest.php @@ -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