mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Added back in commented out test
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
1ef0c1adac
commit
74c78d7577
|
@ -12,15 +12,15 @@ class DeleteUserTest extends TestCase
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
// public function testErrorReturnedViaApiIfUserDoesNotExist()
|
public function testErrorReturnedViaApiIfUserDoesNotExist()
|
||||||
// {
|
{
|
||||||
// $this->actingAsForApi(User::factory()->deleteUsers()->create())
|
$this->actingAsForApi(User::factory()->deleteUsers()->create())
|
||||||
// ->deleteJson(route('api.users.destroy', 'invalid-id'))
|
->deleteJson(route('api.users.destroy', 'invalid-id'))
|
||||||
// ->assertOk()
|
->assertOk()
|
||||||
// ->assertStatus(200)
|
->assertStatus(200)
|
||||||
// ->assertStatusMessageIs('error')
|
->assertStatusMessageIs('error')
|
||||||
// ->json();
|
->json();
|
||||||
// }
|
}
|
||||||
|
|
||||||
public function testErrorReturnedViaApiIfUserIsAlreadyDeleted()
|
public function testErrorReturnedViaApiIfUserIsAlreadyDeleted()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue