Fix unit test

This commit is contained in:
Bubka 2020-02-06 16:08:54 +01:00
parent d4b6dc3bd2
commit d5cf244e15

View File

@ -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',