mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-31 15:24:31 +03:00
Added quick test to cover hypen breakage
This commit is contained in:
@ -91,6 +91,12 @@ class EntitySearchTest extends TestCase
|
|||||||
->see('Book Search Results')->see('.entity-list', $book->name);
|
->see('Book Search Results')->see('.entity-list', $book->name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function test_searching_hypen_doesnt_break()
|
||||||
|
{
|
||||||
|
$this->visit('/search/all?term=cat+-')
|
||||||
|
->seeStatusCode(200);
|
||||||
|
}
|
||||||
|
|
||||||
public function test_ajax_entity_search()
|
public function test_ajax_entity_search()
|
||||||
{
|
{
|
||||||
$page = \BookStack\Page::all()->last();
|
$page = \BookStack\Page::all()->last();
|
||||||
|
Reference in New Issue
Block a user