]> gitweb.fluxo.info Git - semanticscuttle.git/commitdiff
test was unstable and did not work with empty users table
authorcweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>
Wed, 28 Oct 2009 22:32:15 +0000 (22:32 +0000)
committercweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>
Wed, 28 Oct 2009 22:32:15 +0000 (22:32 +0000)
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@463 b3834d28-1941-0410-a4f8-b48e95affb8f

tests/BookmarkTest.php

index e5cf760aa2f49ef85b75c4ab1e4a60399a087a2b..82c5fa647e4f6f2509250e0a9721c49388a05cce 100644 (file)
@@ -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);