Commit dfd70337 authored by Lukas Reschke's avatar Lukas Reschke
Browse files

Adjust unit test

parent f92f3a1a
......@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment