mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-15 16:22:25 +02:00
Remove softDelete on 2FAccounts
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user