laravel-request-mapper
laravel-request-mapper copied to clipboard
Not working in feature tests
This gives me a validation error in feature tests. But working with artisan serve
$response = $this->json("POST",'/login', ['username'=> 'testusername', 'password'=> 'any']);
$response->assertSessionHasNoErrors();
$response->assertRedirect('/');
We fixed it in our fork. https://github.com/arimacdev/laravel-request-mapper/commit/756e72b55ddc046a7bf921d04f0922f0e2c40248