]> BookStack Code Mirror - bookstack/blobdiff - tests/BrowserKitTest.php
Add Slovak translation
[bookstack] / tests / BrowserKitTest.php
index 674aef9844fd7fedbe90e9ad3a1e6ecd76691762..8e02cb5f106b60e780963bffd089f56e6831e8df 100644 (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;