Converted sort tests to non browserkit testing

Added testing to cover book sort endpoint.
Closes #283
This commit is contained in:
Dan Brown
2017-02-05 14:20:59 +00:00
parent 33a2999a57
commit 7c9937e924
4 changed files with 126 additions and 25 deletions

View File

@ -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;