summaryrefslogtreecommitdiff
path: root/tests/Bookmark2TagTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Bookmark2TagTest.php')
-rw-r--r--tests/Bookmark2TagTest.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/Bookmark2TagTest.php b/tests/Bookmark2TagTest.php
index 7d003c3..d75afd8 100644
--- a/tests/Bookmark2TagTest.php
+++ b/tests/Bookmark2TagTest.php
@@ -78,6 +78,8 @@ class Bookmark2TagTest extends TestBase
*/
public function testGetTagsForBookmarkNone()
{
+ $this->addBookmark(null, null, 0, array('forz', 'barz'));
+
$bid = $this->addBookmark(null, null, 0, array());
$this->assertEquals(
array(),
@@ -94,6 +96,8 @@ class Bookmark2TagTest extends TestBase
*/
public function testGetTagsForBookmarkOne()
{
+ $this->addBookmark(null, null, 0, array('forz', 'barz'));
+
$bid = $this->addBookmark(null, null, 0, array());
$this->b2ts->attachTags($bid, array('foo'));
$this->assertEquals(
@@ -111,6 +115,8 @@ class Bookmark2TagTest extends TestBase
*/
public function testGetTagsForBookmarkThree()
{
+ $this->addBookmark(null, null, 0, array('forz', 'barz'));
+
$bid = $this->addBookmark(null, null, 0, array());
$this->b2ts->attachTags($bid, array('foo', 'bar', 'fuu'));