mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-06-03 08:13:14 +08:00
Merge bugfixes from branch 'v0.14'
This commit is contained in:
@ -80,4 +80,14 @@ class PublicActionTest extends BrowserKitTest
|
||||
]);
|
||||
}
|
||||
|
||||
public function test_content_not_listed_on_404_for_public_users()
|
||||
{
|
||||
$page = \BookStack\Page::first();
|
||||
$this->asAdmin()->visit($page->getUrl());
|
||||
Auth::logout();
|
||||
view()->share('pageTitle', '');
|
||||
$this->forceVisit('/cats/dogs/hippos');
|
||||
$this->dontSee($page->name);
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user