Add assertion for success message

This commit is contained in:
Marcus Moore 2024-08-05 16:11:07 -07:00
parent 8a206a6d92
commit 5786ff5035
No known key found for this signature in database

View file

@ -128,7 +128,8 @@ class BulkDeleteUsersTest extends TestCase
],
'delete_user' => '1',
])
->assertRedirect();
->assertRedirect()
->assertSessionHas('success', trans('general.bulk_checkin_delete_success'));
$this->assertSoftDeleted($userA);
$this->assertNotSoftDeleted($userB);