Failing tests, how to test withFlashSuccess
lharland opened this issue · 2 comments
lharland commented
When i run php artisan test, all tests are failing,
when i print session, it shows that session('flash-success') is null
rappasoft commented
What are you using to run the application and what do you have the session driver set to?
lharland commented
my session driver is set to array,
in particular this code gives an error where session is null
$response->assertSessionHas(['flash_success' => __('alerts.backend.users.updated_password')]);