]> BookStack Code Mirror - bookstack/blobdiff - tests/Permissions/RestrictionsTest.php
Finished refactor of entity repos
[bookstack] / tests / Permissions / RestrictionsTest.php
index d3830cff773da95d36550fa927981e2679a62bfb..cddd3206a36921abe7b1bb4f9c7940c505d81d4e 100644 (file)
@@ -65,9 +65,9 @@ class RestrictionsTest extends TestCase
         $this->forceVisit($bookUrl)
             ->see('Book not found');
         $this->forceVisit($bookPage->getUrl())
-            ->see('Book not found');
+            ->see('Page not found');
         $this->forceVisit($bookChapter->getUrl())
-            ->see('Book not found');
+            ->see('Chapter not found');
 
         $this->setEntityRestrictions($book, ['view']);