generated from pestphp/pest-plugin-template
-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Unknown named parameter $method #6
Comments
I'm having the same issue with
Again with authenticated routes, I use a setUp() function to do the login, and it still doesn't work.
|
It seems that having any |
This seems to be a workaround: describe('routes work', function () {
beforeEach(function () {
$this->actingAs(User::factory()->create());
});
routeTesting('routes work')
->assertSuccessful();
}); |
I'm having the same problem, either using ->setUp or the beforeEach() solution... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When trying to run this on authenticated routes in my application, I get the following:
I've tried debugging this and I can seem to figure out why. Non-authenticated routes work fine.
I was hoping to use this as a replacement for my own code which also works perfectly fine, where with is an array of route name:
This is exactly the tests I have currently, the first one as stated working perfectly, the other one not so:
The text was updated successfully, but these errors were encountered: