1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-31 15:24:31 +03:00

Fixed issue with searching invalid chars and page-content compiliation

This commit is contained in:
Dan Brown
2015-12-29 15:37:13 +00:00
parent 05c4b2089c
commit 445f939822
6 changed files with 22 additions and 10 deletions

View File

@ -170,6 +170,16 @@ class EntityTest extends TestCase
->seePageIs($page->getUrl());
}
public function testInvalidPageSearch()
{
$this->asAdmin()
->visit('/')
->type('<p>test</p>', 'term')
->press('header-search-box-button')
->see('Search Results')
->seeStatusCode(200);
}
public function testEntitiesViewableAfterCreatorDeletion()
{