From 0685081d462c0c17fa11e06dd382ba082c2322fd Mon Sep 17 00:00:00 2001 From: cweiske Date: Sat, 20 Feb 2010 11:11:26 +0000 Subject: make tests better git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@665 b3834d28-1941-0410-a4f8-b48e95affb8f --- tests/Bookmark2TagTest.php | 6 ++++++ 1 file changed, 6 insertions(+) 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')); -- cgit v1.2.3