mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-30 04:23:11 +03:00
Improved 404 page and updated tests for empty search
This commit is contained in:
@ -180,6 +180,14 @@ class EntityTest extends TestCase
|
||||
->seeStatusCode(200);
|
||||
}
|
||||
|
||||
public function testEmptySearchRedirectsBack()
|
||||
{
|
||||
$this->asAdmin()
|
||||
->visit('/')
|
||||
->visit('/search/all')
|
||||
->seePageIs('/');
|
||||
}
|
||||
|
||||
|
||||
public function testEntitiesViewableAfterCreatorDeletion()
|
||||
{
|
||||
|
Reference in New Issue
Block a user