Fix tests

This commit is contained in:
James Brooks
2017-01-04 20:42:14 +00:00
parent 1b5ddc66dc
commit c20a66ed48
5 changed files with 47 additions and 3 deletions

View File

@@ -40,7 +40,7 @@ class ComponentStatusWasUpdatedEventTest extends AbstractComponentEventTestCase
$this->app['events']->fire(new ComponentStatusWasUpdatedEvent($component, 1, 2));
$this->seeMessageFor($subscriber->email);
$this->seeMessageWithSubject(trans('cachet.subscriber.email.component.subject'));
$this->seeMessageWithSubject(trans('notifications.component.status_update.subject'));
$message = $this->getMailer()->lastMessage();