1
0
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:
Dan Brown
2016-01-01 09:03:40 +00:00
parent 9a470b07fd
commit f60a0c3b76
4 changed files with 15 additions and 6 deletions

View File

@ -180,6 +180,14 @@ class EntityTest extends TestCase
->seeStatusCode(200);
}
public function testEmptySearchRedirectsBack()
{
$this->asAdmin()
->visit('/')
->visit('/search/all')
->seePageIs('/');
}
public function testEntitiesViewableAfterCreatorDeletion()
{