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:
parent
563df90c75
commit
9710ede432
1 changed files with 4 additions and 0 deletions
|
@ -294,6 +294,10 @@ class BookmarkTest extends TestBase
|
|||
*/
|
||||
public function testEditAllowedBookmarkId()
|
||||
{
|
||||
$uid = $this->addUser();
|
||||
$bid = $this->addBookmark();
|
||||
$this->us->setCurrentUserId($uid);
|
||||
$this->assertTrue($this->bs->editAllowed($bid));
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue