mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-06-20 19:57:44 +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')
|
$response = $this->actingAs($this->user, 'api')
|
||||||
->json('GET', '/api/twofaccounts/' . $twofaccount->id . '/otp')
|
->json('POST', '/api/twofaccounts/otp', ['data' => $twofaccount->id])
|
||||||
->assertStatus(200)
|
->assertStatus(200)
|
||||||
->assertJsonStructure([
|
->assertJsonStructure([
|
||||||
'otp',
|
'otp',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user