aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-10-28 22:32:15 +0000
committercweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-10-28 22:32:15 +0000
commit63f82a410158e2ace4584acdbc2f8896daa444b2 (patch)
treeee18ccb5605a6b390e26f5c02c36e94ff0806876
parent483e9f0747e030fea5dda3c8471dd59880f45718 (diff)
downloadsemanticscuttle-63f82a410158e2ace4584acdbc2f8896daa444b2.tar.gz
semanticscuttle-63f82a410158e2ace4584acdbc2f8896daa444b2.tar.bz2
test was unstable and did not work with empty users table
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@463 b3834d28-1941-0410-a4f8-b48e95affb8f
-rw-r--r--tests/BookmarkTest.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/BookmarkTest.php b/tests/BookmarkTest.php
index e5cf760..82c5fa6 100644
--- a/tests/BookmarkTest.php
+++ b/tests/BookmarkTest.php
@@ -77,10 +77,11 @@ class BookmarkTest extends TestBase
$tag1 = "#{|`^@]³¹¡¿<&é\"'(-è\\_çà)";
$tag2 = "&é\"'(-è.[?./§!_çà)";
- $bs->addBookmark(
+ $uid = $this->addUser();
+ $bid = $bs->addBookmark(
'http://site1.com', $title, $desc, 'note',
0, array($tag1, $tag2),
- null, false, false, 1
+ null, false, false, $uid
);
$bookmarks = $bs->getBookmarks(0, 1);