mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Add assertion for success message
This commit is contained in:
parent
8a206a6d92
commit
5786ff5035
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue