mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-02-08 00:59:46 +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();
|
$editor = $this->getEditor();
|
||||||
$this->actingAs($editor);
|
$this->actingAs($editor);
|
||||||
|
|
||||||
$toBeTemplates = Page::query()->take(12)->get();
|
$toBeTemplates = Page::query()->orderBy('name', 'asc')->take(12)->get();
|
||||||
$page = $toBeTemplates->first();
|
$page = $toBeTemplates->first();
|
||||||
|
|
||||||
$emptyTemplatesFetch = $this->get('/templates');
|
$emptyTemplatesFetch = $this->get('/templates');
|
||||||
|
|
Loading…
Reference in New Issue
Block a user