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:
@ -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()
|
||||
{
|
||||
|
Reference in New Issue
Block a user