]> gitweb.fluxo.info Git - semanticscuttle.git/commitdiff
fix notice when passing an invalid array to editAllowed()
authorcweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>
Thu, 19 Nov 2009 19:23:26 +0000 (19:23 +0000)
committercweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>
Thu, 19 Nov 2009 19:23:26 +0000 (19:23 +0000)
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@559 b3834d28-1941-0410-a4f8-b48e95affb8f

tests/BookmarkTest.php

index b99dfd758a65da25fbefed83695d666cb45ea737..f54b9e5119f147cd4ed985a58e13e57e92330627 100644 (file)
@@ -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));
     }