mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-04-20 03:16:18 +00:00
Fixed caching issue when running tests
This commit is contained in:
parent
ba21b54195
commit
c7e33d1981
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ class UserRoleProvider
|
||||||
{
|
{
|
||||||
if (is_null($this->admin)) {
|
if (is_null($this->admin)) {
|
||||||
$adminRole = Role::getSystemRole('admin');
|
$adminRole = Role::getSystemRole('admin');
|
||||||
$this->admin = $adminRole->users->first();
|
$this->admin = $adminRole->users()->first();
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this->admin;
|
return $this->admin;
|
||||||
|
|
Loading…
Add table
Reference in a new issue