summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/units/Notification/MailNotificationTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/units/Notification/MailNotificationTest.php b/tests/units/Notification/MailNotificationTest.php
index 6579d9bc..05f1f882 100644
--- a/tests/units/Notification/MailNotificationTest.php
+++ b/tests/units/Notification/MailNotificationTest.php
@@ -56,7 +56,7 @@ class MailNotificationTest extends Base
'changes' => array()
);
$this->assertNotEmpty($mailNotification->getMailContent($eventName, $eventData));
- $this->assertNotEmpty($mailNotification->getMailSubject($eventName, $eventData));
+ $this->assertStringStartsWith('[test] ', $mailNotification->getMailSubject($eventName, $eventData));
}
}
@@ -84,7 +84,7 @@ class MailNotificationTest extends Base
->with(
$this->equalTo('test@localhost'),
$this->equalTo('admin'),
- $this->equalTo('[test][New task] test (#1)'),
+ $this->equalTo('[test] New task #1: test'),
$this->stringContains('test')
);