aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/bookmark
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bookmark')
-rw-r--r--tests/bookmark/BookmarkFileServiceTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/bookmark/BookmarkFileServiceTest.php b/tests/bookmark/BookmarkFileServiceTest.php
index 8e0ff8dd..f619aff3 100644
--- a/tests/bookmark/BookmarkFileServiceTest.php
+++ b/tests/bookmark/BookmarkFileServiceTest.php
@@ -886,8 +886,8 @@ class BookmarkFileServiceTest extends TestCase
886 */ 886 */
887 public function testFilterHashPrivateWhileLoggedOut() 887 public function testFilterHashPrivateWhileLoggedOut()
888 { 888 {
889 $this->expectException(\Exception::class); 889 $this->expectException(BookmarkNotFoundException::class);
890 $this->expectExceptionMessage('Not authorized'); 890 $this->expectExceptionMessage('The link you are trying to reach does not exist or has been deleted');
891 891
892 $hash = smallHash('20141125_084734' . 6); 892 $hash = smallHash('20141125_084734' . 6);
893 893