Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2017-04-26 16:20:41 +0300
committerMorris Jobke <hey@morrisjobke.de>2017-04-29 05:41:37 +0300
commit5fa0e6df39f7e9df5a9f59b5d8b2c4b507975d41 (patch)
tree4b28ef2b42b1505a3a3555ac1d3e273d0a9f2438 /tests/lib/Accounts
parent981c110f7ee494185df50563b986bebf4d78293d (diff)
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.php2
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')