rappasoft/laravel-boilerplate

Failing tests, how to test withFlashSuccess

lharland opened this issue · 2 comments

When i run php artisan test, all tests are failing,

when i print session, it shows that session('flash-success') is null

What are you using to run the application and what do you have the session driver set to?

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')]);