Add the possibility to send tasks and comments to multiple recipients
This commit is contained in:
@@ -14,7 +14,7 @@ class CommentValidatorTest extends Base
|
||||
'user_id' => 1,
|
||||
'task_id' => 1,
|
||||
'comment' => 'blah',
|
||||
'email' => 'test@localhost',
|
||||
'emails' => 'test@localhost, another@localhost',
|
||||
'subject' => 'something',
|
||||
));
|
||||
|
||||
@@ -24,20 +24,10 @@ class CommentValidatorTest extends Base
|
||||
'user_id' => 1,
|
||||
'task_id' => 1,
|
||||
'comment' => 'blah',
|
||||
'email' => 'invalid',
|
||||
'subject' => 'something',
|
||||
));
|
||||
|
||||
$this->assertFalse($result[0]);
|
||||
|
||||
$result = $commentValidator->validateEmailCreation(array(
|
||||
'user_id' => 1,
|
||||
'task_id' => 1,
|
||||
'comment' => 'bla',
|
||||
'email' => 'test@localhost',
|
||||
));
|
||||
|
||||
$this->assertFalse($result[0]);
|
||||
}
|
||||
|
||||
public function testValidateCreation()
|
||||
|
||||
Reference in New Issue
Block a user