mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Remove unused test cases
This commit is contained in:
parent
56e6205667
commit
39ff575ac1
|
@ -91,23 +91,4 @@ class UsersUpdateTest extends TestCase
|
|||
$this->assertTrue($user->groups->contains($groupA));
|
||||
$this->assertTrue($user->groups->contains($groupB));
|
||||
}
|
||||
|
||||
public function testValidationForUpdatingUserViaPut()
|
||||
{
|
||||
$this->markTestIncomplete();
|
||||
}
|
||||
|
||||
public function testCanUpdateUserViaPut()
|
||||
{
|
||||
$this->markTestIncomplete();
|
||||
}
|
||||
|
||||
public function testDepartmentValidation()
|
||||
{
|
||||
$this->actingAsForApi(User::factory()->superuser()->create())
|
||||
->patchJson(route('api.users.update', User::factory()->create()), [
|
||||
// This isn't valid but was not returning an error
|
||||
'department_id' => ['id' => 1],
|
||||
])->assertJsonValidationErrorFor('department_id');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue