diff options
author | Christian Weiske <cweiske@cweiske.de> | 2011-08-05 06:47:37 +0200 |
---|---|---|
committer | Christian Weiske <cweiske@cweiske.de> | 2011-08-05 06:47:37 +0200 |
commit | 9c18fe1cc7e22077763baa545144cc01d5d94eab (patch) | |
tree | e02942d580ad6fdc8b4622c5d9575a3290ca2dca /tests | |
parent | c1528d1c5bf82d1a637fa6ac8b245e2a565f5f59 (diff) | |
download | semanticscuttle-9c18fe1cc7e22077763baa545144cc01d5d94eab.tar.gz semanticscuttle-9c18fe1cc7e22077763baa545144cc01d5d94eab.tar.bz2 |
Fix bug #3386178: "system:unfiled" secret tag does not work
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Bookmark2TagTest.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/Bookmark2TagTest.php b/tests/Bookmark2TagTest.php index 1367a0e..f466a7d 100644 --- a/tests/Bookmark2TagTest.php +++ b/tests/Bookmark2TagTest.php @@ -80,6 +80,15 @@ class Bookmark2TagTest extends TestBase ); } + public function testAttachTagsWithArrayWithEmptyStringAddsSystemUnfiled() + { + $bid = $this->addBookmark(null, null, 0, array('')); + $this->assertEquals( + array('system:unfiled'), + $this->b2ts->getTagsForBookmark($bid, true) + ); + } + /** |