From eba91ae55a2f446e65bac1b15181b9a12c12941c Mon Sep 17 00:00:00 2001 From: wess Date: Wed, 23 Aug 2023 12:22:04 -0400 Subject: [PATCH] Stubbing in tests and message builder --- app/workers/messaging.php | 1 - tests/e2e/Services/Messaging/MessagingServerTest.php | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/app/workers/messaging.php b/app/workers/messaging.php index e958d5ece4..84af6fa802 100644 --- a/app/workers/messaging.php +++ b/app/workers/messaging.php @@ -130,7 +130,6 @@ class MessagingV1 extends Worker 'subject' => $subject, 'body' => $body, ]; - return $message; } private function buildSMSMessage($data): array diff --git a/tests/e2e/Services/Messaging/MessagingServerTest.php b/tests/e2e/Services/Messaging/MessagingServerTest.php index 7b93ab29ac..9bc9f93caf 100644 --- a/tests/e2e/Services/Messaging/MessagingServerTest.php +++ b/tests/e2e/Services/Messaging/MessagingServerTest.php @@ -187,4 +187,5 @@ class MessagingServerTest extends Scope $this->assertEquals(204, $response['headers']['status-code']); } } + }