mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-06-20 11:47:53 +02:00
Fix unit test
This commit is contained in:
parent
d4b6dc3bd2
commit
d5cf244e15
@ -140,7 +140,7 @@ class TwoFAccountTest extends TestCase
|
||||
]);
|
||||
|
||||
$response = $this->actingAs($this->user, 'api')
|
||||
->json('GET', '/api/twofaccounts/' . $twofaccount->id . '/otp')
|
||||
->json('POST', '/api/twofaccounts/otp', ['data' => $twofaccount->id])
|
||||
->assertStatus(200)
|
||||
->assertJsonStructure([
|
||||
'otp',
|
||||
|
Loading…
x
Reference in New Issue
Block a user