Remove softDelete on 2FAccounts

This commit is contained in:
Bubka
2020-01-07 16:46:50 +01:00
parent eab03e6d0c
commit 3a0bf1a596
5 changed files with 8 additions and 35 deletions

View File

@ -135,20 +135,4 @@ class TwoFAccountTest extends TestCase
->assertStatus(204);
}
/**
* test TwoFAccount permanent deletion via API
*
* @test
*/
public function testTwoFAccountPermanentDeletion()
{
$twofaccount = factory(TwoFAccount::class)->create();
$twofaccount->delete();
$response = $this->actingAs($this->user, 'api')
->json('DELETE', '/api/twofaccounts/force/' . $twofaccount->id)
->assertStatus(204);
}
}