mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-08-07 23:03:00 +03:00
Notifications: Fixed issues causing failing tests
- Ensured watch options passed in all meta template usage to fix failing scenarios where watch options did not exist. - Fixed testing issue caused by guest user permission caching.
This commit is contained in:
@@ -55,7 +55,7 @@ class UserRoleProvider
|
||||
*/
|
||||
public function guest(): User
|
||||
{
|
||||
return User::where('system_name', '=', 'public')->firstOrFail();
|
||||
return User::getDefault();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user