mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-21 11:48:53 +00:00
Expand test code.
This commit is contained in:
@@ -121,6 +121,7 @@ class TwoFactorControllerTest extends TestCase
|
||||
$data = ['code' => '123456'];
|
||||
$google = $this->mock(Google2FA::class);
|
||||
$google->shouldReceive('verifyKey')->andReturn(true)->once();
|
||||
$this->session(['remember_login' => true]);
|
||||
|
||||
$this->be($this->user());
|
||||
$response = $this->post(route('two-factor.post'), $data);
|
||||
|
Reference in New Issue
Block a user