aboutsummaryrefslogtreecommitdiffstats
path: root/tests/settings
diff options
context:
space:
mode:
Diffstat (limited to 'tests/settings')
-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);