Skip to content

Commit

Permalink
Fixed caching issue when running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ssddanbrown committed Feb 26, 2023
1 parent ba21b54 commit c7e33d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Helpers/UserRoleProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public function admin(): User
{
if (is_null($this->admin)) {
$adminRole = Role::getSystemRole('admin');
$this->admin = $adminRole->users->first();
$this->admin = $adminRole->users()->first();
}

return $this->admin;
Expand Down

0 comments on commit c7e33d1

Please sign in to comment.