summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);