From: cweiske Date: Wed, 28 Oct 2009 22:32:15 +0000 (+0000) Subject: test was unstable and did not work with empty users table X-Git-Tag: v0.97~231 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=63f82a410158e2ace4584acdbc2f8896daa444b2;p=semanticscuttle.git 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 --- 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);