Merge bugfixes from branch 'v0.14'

This commit is contained in:
Dan Brown
2017-02-05 21:24:15 +00:00
5 changed files with 41 additions and 20 deletions

View File

@ -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);
}
}