aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2011-08-05 06:33:40 +0200
committerChristian Weiske <cweiske@cweiske.de>2011-08-05 06:33:40 +0200
commitc1528d1c5bf82d1a637fa6ac8b245e2a565f5f59 (patch)
treee61199ff7d63094498f3184ddeff67a68f9f1671 /tests
parent587674b35567caac15984ddf6c204ab32304684a (diff)
downloadsemanticscuttle-c1528d1c5bf82d1a637fa6ac8b245e2a565f5f59.tar.gz
semanticscuttle-c1528d1c5bf82d1a637fa6ac8b245e2a565f5f59.tar.bz2
we can retrieve system tags now
Diffstat (limited to 'tests')
-rw-r--r--tests/Bookmark2TagTest.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/Bookmark2TagTest.php b/tests/Bookmark2TagTest.php
index 4d95d69..1367a0e 100644
--- a/tests/Bookmark2TagTest.php
+++ b/tests/Bookmark2TagTest.php
@@ -71,6 +71,17 @@ class Bookmark2TagTest extends TestBase
+ public function testAttachTagsWithoutTagsAddsSystemUnfiled()
+ {
+ $bid = $this->addBookmark(null, null, 0, array());
+ $this->assertEquals(
+ array('system:unfiled'),
+ $this->b2ts->getTagsForBookmark($bid, true)
+ );
+ }
+
+
+
/**
* Test getTagsForBookmark() when the bookmark has no tags
*