mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-05-23 15:19:58 +08:00
Converted sort tests to non browserkit testing
Added testing to cover book sort endpoint. Closes #283
This commit is contained in:
@ -51,7 +51,7 @@ abstract class BrowserKitTest extends TestCase
|
||||
*/
|
||||
public function getAdmin() {
|
||||
if($this->admin === null) {
|
||||
$adminRole = Role::getRole('admin');
|
||||
$adminRole = Role::getSystemRole('admin');
|
||||
$this->admin = $adminRole->users->first();
|
||||
}
|
||||
return $this->admin;
|
||||
|
Reference in New Issue
Block a user