mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Re-order helpers
This commit is contained in:
parent
59b7d5db4b
commit
1acd24fdbe
|
@ -191,6 +191,11 @@ class BulkDeleteUsersTest extends TestCase
|
|||
$this->assertSoftDeleted($userC);
|
||||
}
|
||||
|
||||
private function assignAssetToUser(User $user): Asset
|
||||
{
|
||||
return Asset::factory()->assignedToUser($user)->create();
|
||||
}
|
||||
|
||||
private function attachAccessoryToUsers(Accessory $accessory, array $users): void
|
||||
{
|
||||
foreach ($users as $user) {
|
||||
|
@ -222,9 +227,4 @@ class BulkDeleteUsersTest extends TestCase
|
|||
'item_id' => $model->id,
|
||||
]);
|
||||
}
|
||||
|
||||
private function assignAssetToUser(User $user): Asset
|
||||
{
|
||||
return Asset::factory()->assignedToUser($user)->create();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue