summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorcweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2010-02-20 11:11:26 +0000
committercweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2010-02-20 11:11:26 +0000
commit0685081d462c0c17fa11e06dd382ba082c2322fd (patch)
treea9af1a02fc56c317450b2810cd8ecce49551f783 /tests
parent512e3a681179c99925121c4f192d8775011909bd (diff)
downloadsemanticscuttle-0685081d462c0c17fa11e06dd382ba082c2322fd.tar.gz
semanticscuttle-0685081d462c0c17fa11e06dd382ba082c2322fd.tar.bz2
make tests better
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@665 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'tests')
-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'));