mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
Improve variable name
This commit is contained in:
parent
d03baa4613
commit
4a2d2f7336
|
@ -230,9 +230,9 @@ class BulkDeleteUsersTest extends TestCase
|
|||
private function attachAccessoryToUsers(Accessory $accessory, array $users): void
|
||||
{
|
||||
foreach ($users as $user) {
|
||||
$a = $accessory->checkouts()->make();
|
||||
$a->assignedTo()->associate($user);
|
||||
$a->save();
|
||||
$accessoryCheckout = $accessory->checkouts()->make();
|
||||
$accessoryCheckout->assignedTo()->associate($user);
|
||||
$accessoryCheckout->save();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue