mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-23 19:59:18 -08:00
Removed debug in test
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
4b23ef4021
commit
6fad085a7d
|
@ -235,12 +235,11 @@ class UpdateUserApiTest extends TestCase
|
|||
$groupA = Group::factory()->create(['name'=>'Group A']);
|
||||
$groupB = Group::factory()->create(['name'=>'Group B']);
|
||||
|
||||
$response = $this->actingAsForApi($superUser)
|
||||
$this->actingAsForApi($superUser)
|
||||
->patchJson(route('api.users.update', $user), [
|
||||
'groups' => [$groupA->id, $groupB->id],
|
||||
])->json();
|
||||
|
||||
\Log::error($response);
|
||||
$this->assertTrue($user->refresh()->groups->contains($groupA));
|
||||
$this->assertTrue($user->refresh()->groups->contains($groupB));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue