mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-01-31 23:49:45 +08:00
Updated template test to be more stable
This commit is contained in:
parent
de3e9ab094
commit
5fdab3b8af
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue
Block a user