diff options
author | Bjoern Schiessle <bjoern@schiessle.org> | 2017-04-26 15:20:41 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-04-28 23:41:37 -0300 |
commit | 5fa0e6df39f7e9df5a9f59b5d8b2c4b507975d41 (patch) | |
tree | 4b28ef2b42b1505a3a3555ac1d3e273d0a9f2438 /tests/lib/Accounts | |
parent | 981c110f7ee494185df50563b986bebf4d78293d (diff) | |
download | nextcloud-server-5fa0e6df39f7e9df5a9f59b5d8b2c4b507975d41.tar.gz nextcloud-server-5fa0e6df39f7e9df5a9f59b5d8b2c4b507975d41.zip |
fix email verification status
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'tests/lib/Accounts')
-rw-r--r-- | tests/lib/Accounts/AccountsManagerTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/Accounts/AccountsManagerTest.php b/tests/lib/Accounts/AccountsManagerTest.php index 90b4c4b9f67..6cefebdea86 100644 --- a/tests/lib/Accounts/AccountsManagerTest.php +++ b/tests/lib/Accounts/AccountsManagerTest.php @@ -95,7 +95,7 @@ class AccountsManagerTest extends TestCase { if ($updateExisting) { $accountManager->expects($this->once())->method('checkEmailVerification') - ->with($oldData, $newData, $user); + ->with($oldData, $newData, $user)->willReturn($newData); $accountManager->expects($this->once())->method('updateVerifyStatus') ->with($oldData, $newData)->willReturn($newData); $accountManager->expects($this->once())->method('updateExistingUser') |