From 63f82a410158e2ace4584acdbc2f8896daa444b2 Mon Sep 17 00:00:00 2001 From: cweiske Date: Wed, 28 Oct 2009 22:32:15 +0000 Subject: 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 --- tests/BookmarkTest.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/BookmarkTest.php') 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); -- cgit v1.2.3