From 2a313eb971ab36e166308f7882897ef204234d0a Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Fri, 17 Nov 2017 14:46:23 -0800 Subject: Add the possibility to send tasks and comments to multiple recipients --- tests/units/Validator/CommentValidatorTest.php | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'tests/units/Validator/CommentValidatorTest.php') diff --git a/tests/units/Validator/CommentValidatorTest.php b/tests/units/Validator/CommentValidatorTest.php index db6da446..6066639b 100644 --- a/tests/units/Validator/CommentValidatorTest.php +++ b/tests/units/Validator/CommentValidatorTest.php @@ -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() -- cgit v1.2.3