Skip to content

Commit c7e33d1

Browse files
committed
Fixed caching issue when running tests
1 parent ba21b54 commit c7e33d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Helpers/UserRoleProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public function admin(): User
1818
{
1919
if (is_null($this->admin)) {
2020
$adminRole = Role::getSystemRole('admin');
21-
$this->admin = $adminRole->users->first();
21+
$this->admin = $adminRole->users()->first();
2222
}
2323

2424
return $this->admin;

0 commit comments

Comments
 (0)