From f22d3fc717c89b9e25dd07c94a97bb08cde1cdb6 Mon Sep 17 00:00:00 2001 From: James Brooks Date: Mon, 9 Jan 2017 18:44:03 +0000 Subject: [PATCH] Fix tests --- resources/lang/en/notifications.php | 2 +- .../Bus/Events/Component/ComponentStatusWasUpdatedEventTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/lang/en/notifications.php b/resources/lang/en/notifications.php index 35f6c457..6a65c6bd 100644 --- a/resources/lang/en/notifications.php +++ b/resources/lang/en/notifications.php @@ -68,7 +68,7 @@ return [ 'action' => 'View', ], 'slack' => [ - 'title' => 'New Schedule Created!.' + 'title' => 'New Schedule Created!', 'content' => ':name was scheduled for :date', ], 'sms' => [ diff --git a/tests/Bus/Events/Component/ComponentStatusWasUpdatedEventTest.php b/tests/Bus/Events/Component/ComponentStatusWasUpdatedEventTest.php index c8ae1e3a..8263b166 100644 --- a/tests/Bus/Events/Component/ComponentStatusWasUpdatedEventTest.php +++ b/tests/Bus/Events/Component/ComponentStatusWasUpdatedEventTest.php @@ -40,7 +40,7 @@ class ComponentStatusWasUpdatedEventTest extends AbstractComponentEventTestCase $this->app['events']->fire(new ComponentStatusWasUpdatedEvent($component, 1, 2)); $this->seeMessageFor($subscriber->email); - $this->seeMessageWithSubject(trans('notifications.component.status_update.subject')); + $this->seeMessageWithSubject(trans('notifications.component.status_update.mail.subject')); $message = $this->getMailer()->lastMessage();