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:
authorLukas Reschke <lukas@owncloud.com>2015-02-19 21:40:05 +0300
committerLukas Reschke <lukas@owncloud.com>2015-03-16 14:47:05 +0300
commitdfd70337d6db5e6e15f6763d5e8762f189e9fd71 (patch)
tree95a896d5a32cc799a1ef4986c61c304276572e84 /tests/settings/controller
parentf92f3a1a6ecbce06fbe24204ef12b2eeeb0f0d15 (diff)
Adjust unit test
Diffstat (limited to 'tests/settings/controller')
-rw-r--r--tests/settings/controller/userscontrollertest.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/settings/controller/userscontrollertest.php b/tests/settings/controller/userscontrollertest.php
index 3f69d1e7d18..25c935bef58 100644
--- a/tests/settings/controller/userscontrollertest.php
+++ b/tests/settings/controller/userscontrollertest.php
@@ -1208,10 +1208,15 @@ class UsersControllerTest extends \Test\TestCase {
$this->container['Mailer']
->expects($this->at(0))
+ ->method('validateMailAddress')
+ ->with('validMail@Adre.ss')
+ ->will($this->returnValue(true));
+ $this->container['Mailer']
+ ->expects($this->at(1))
->method('createMessage')
->will($this->returnValue($message));
$this->container['Mailer']
- ->expects($this->at(1))
+ ->expects($this->at(2))
->method('send')
->with($message);