Update calls to missing function
This commit is contained in:
parent
60eb60013c
commit
5f9fe4a69b
45 changed files with 78 additions and 78 deletions
|
@ -49,7 +49,7 @@ class DisableTwoFactorCommandTest extends CommandTestCase
|
|||
|
||||
$this->repository->shouldReceive('setColumns')->with(['id', 'email'])->once()->andReturnSelf()
|
||||
->shouldReceive('findFirstWhere')->with([['email', '=', $user->email]])->once()->andReturn($user);
|
||||
$this->repository->shouldReceive('withoutFresh')->withNoArgs()->once()->andReturnSelf()
|
||||
$this->repository->shouldReceive('withoutFreshModel')->withNoArgs()->once()->andReturnSelf()
|
||||
->shouldReceive('update')->with($user->id, [
|
||||
'use_totp' => false,
|
||||
'totp_secret' => null,
|
||||
|
@ -70,7 +70,7 @@ class DisableTwoFactorCommandTest extends CommandTestCase
|
|||
|
||||
$this->repository->shouldReceive('setColumns')->with(['id', 'email'])->once()->andReturnSelf()
|
||||
->shouldReceive('findFirstWhere')->with([['email', '=', $user->email]])->once()->andReturn($user);
|
||||
$this->repository->shouldReceive('withoutFresh')->withNoArgs()->once()->andReturnSelf()
|
||||
$this->repository->shouldReceive('withoutFreshModel')->withNoArgs()->once()->andReturnSelf()
|
||||
->shouldReceive('update')->with($user->id, [
|
||||
'use_totp' => false,
|
||||
'totp_secret' => null,
|
||||
|
|
Reference in a new issue