aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/BookmarkTest.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/BookmarkTest.php b/tests/BookmarkTest.php
index b99dfd7..f54b9e5 100644
--- a/tests/BookmarkTest.php
+++ b/tests/BookmarkTest.php
@@ -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));
}