Updated template test to be more stable

This commit is contained in:
Dan Brown 2019-08-11 20:10:27 +01:00
parent de3e9ab094
commit 5fdab3b8af
No known key found for this signature in database
GPG Key ID: 46D9F943C24A2EF9

View File

@ -74,7 +74,7 @@ class PageTemplateTest extends TestCase
$editor = $this->getEditor();
$this->actingAs($editor);
$toBeTemplates = Page::query()->take(12)->get();
$toBeTemplates = Page::query()->orderBy('name', 'asc')->take(12)->get();
$page = $toBeTemplates->first();
$emptyTemplatesFetch = $this->get('/templates');