mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Formatting
This commit is contained in:
parent
899c2eb19b
commit
56e6205667
|
@ -106,8 +106,8 @@ class UsersUpdateTest extends TestCase
|
||||||
{
|
{
|
||||||
$this->actingAsForApi(User::factory()->superuser()->create())
|
$this->actingAsForApi(User::factory()->superuser()->create())
|
||||||
->patchJson(route('api.users.update', User::factory()->create()), [
|
->patchJson(route('api.users.update', User::factory()->create()), [
|
||||||
// This isn't valid but was not returning an error
|
// This isn't valid but was not returning an error
|
||||||
'department_id' => ['id' => 1],
|
'department_id' => ['id' => 1],
|
||||||
])->assertJsonValidationErrorFor('department_id');
|
])->assertJsonValidationErrorFor('department_id');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue