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
This commit is contained in:
cweiske 2009-10-28 22:32:15 +00:00
parent 483e9f0747
commit 63f82a4101

View 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);