1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-28 17:02:04 +03:00

Made search test a little more consistent

This commit is contained in:
Dan Brown
2018-09-23 15:15:44 +01:00
parent 93f820d9da
commit 9243c635f2
2 changed files with 3 additions and 2 deletions

View File

@ -172,7 +172,7 @@ class EntitySearchTest extends TestCase
public function test_ajax_entity_search()
{
$page = Page::all()->last();
$page = $this->newPage(['name' => 'my ajax search test', 'html' => 'ajax test']);
$notVisitedPage = Page::first();
// Visit the page to make popular