Adjust unit test
This commit is contained in:
parent
f92f3a1a6e
commit
dfd70337d6
1 changed files with 6 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue