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:
parent
483e9f0747
commit
63f82a4101
1 changed files with 3 additions and 2 deletions
|
@ -77,10 +77,11 @@ class BookmarkTest extends TestBase
|
||||||
$tag1 = "#{|`^@]³¹¡¿<&é\"'(-è\\_çà)";
|
$tag1 = "#{|`^@]³¹¡¿<&é\"'(-è\\_çà)";
|
||||||
$tag2 = "&é\"'(-è.[?./§!_çà)";
|
$tag2 = "&é\"'(-è.[?./§!_çà)";
|
||||||
|
|
||||||
$bs->addBookmark(
|
$uid = $this->addUser();
|
||||||
|
$bid = $bs->addBookmark(
|
||||||
'http://site1.com', $title, $desc, 'note',
|
'http://site1.com', $title, $desc, 'note',
|
||||||
0, array($tag1, $tag2),
|
0, array($tag1, $tag2),
|
||||||
null, false, false, 1
|
null, false, false, $uid
|
||||||
);
|
);
|
||||||
|
|
||||||
$bookmarks = $bs->getBookmarks(0, 1);
|
$bookmarks = $bs->getBookmarks(0, 1);
|
||||||
|
|
Loading…
Reference in a new issue