fix notice when passing an invalid array to editAllowed()

git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@559 b3834d28-1941-0410-a4f8-b48e95affb8f
This commit is contained in:
cweiske 2009-11-19 19:23:26 +00:00
parent 563df90c75
commit 9710ede432

View file

@ -294,6 +294,10 @@ class BookmarkTest extends TestBase
*/ */
public function testEditAllowedBookmarkId() public function testEditAllowedBookmarkId()
{ {
$uid = $this->addUser();
$bid = $this->addBookmark();
$this->us->setCurrentUserId($uid);
$this->assertTrue($this->bs->editAllowed($bid));
} }