-<?php namespace Entity;
+<?php namespace Tests\Entity;
use BookStack\Entities\Page;
use Tests\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');