-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AuthenticationException #11
Comments
@andersespedalen hmmm I'll have to check with this specific version of nova maybe Current version works for me |
Hi @andersespedalen , I think you need to pass the default argument value to null in your define method. Not ($user) but ($user = null). As this:
|
Don't think so. The callback of Gate::define() does not require a default value. |
In the browser, login works fine using the same user as in the test
Regardless of using the seeded data, or creating the user in the test, I'm getting Unauthenticated when testing Index
test
In NovaServiceProvider, even I allow all users to debug
PHPUnit
Environment:
The text was updated successfully, but these errors were encountered: