mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-08-09 10:22:51 +03:00
Fixed caching issue when running tests
This commit is contained in:
@@ -18,7 +18,7 @@ class UserRoleProvider
|
||||
{
|
||||
if (is_null($this->admin)) {
|
||||
$adminRole = Role::getSystemRole('admin');
|
||||
$this->admin = $adminRole->users->first();
|
||||
$this->admin = $adminRole->users()->first();
|
||||
}
|
||||
|
||||
return $this->admin;
|
||||
|
Reference in New Issue
Block a user