mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-06-03 08:13:14 +08:00
Updated template test to be more stable
This commit is contained in:
@ -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');
|
||||
|
Reference in New Issue
Block a user