X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/33a2999a57854495fcea8c1acf1b75b04a28a0bf..refs/pull/358/head:/tests/BrowserKitTest.php diff --git a/tests/BrowserKitTest.php b/tests/BrowserKitTest.php index 674aef984..8e02cb5f1 100644 --- a/tests/BrowserKitTest.php +++ b/tests/BrowserKitTest.php @@ -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;