diff options
Diffstat (limited to 'tests/Bookmark2TagTest.php')
-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) + ); + } + /** |