aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/BookmarkTest.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/BookmarkTest.php b/tests/BookmarkTest.php
index 82c5fa6..01e6b38 100644
--- a/tests/BookmarkTest.php
+++ b/tests/BookmarkTest.php
@@ -103,15 +103,18 @@ class BookmarkTest extends TestBase
{
$bs = $this->bs;
+ $uid = $this->addUser();
+ $uid2 = $this->addUser();
+
$bs->addBookmark(
'http://site1.com', "title", "description", 'note',
0, array('tag1'), null, false, false,
- 1
+ $uid
);
$bs->addBookmark(
"http://site1.com", "title2", "description2", 'note',
0, array('tag2'), null, false, false,
- 2
+ $uid2
);
$bookmarks = $bs->getBookmarks();