diff --git a/app/Infrastructure/Slack/Controller.php b/app/Infrastructure/Slack/Controller.php index 60eaaa5..a3467bb 100644 --- a/app/Infrastructure/Slack/Controller.php +++ b/app/Infrastructure/Slack/Controller.php @@ -50,7 +50,7 @@ class Controller extends SlackController ); return Response::create($this->request) - ->withText(":x: Polecenie `/{$this->request->command} {$this->request->text}` jest niepoprawna:") + ->withText(":x: Polecenie `/{$this->request->command} {$this->request->text}` jest niepoprawne:") ->withAttachments($errors->all()); } } diff --git a/tests/Unit/SendDailySummaryToSlackTest.php b/tests/Unit/SendDailySummaryToSlackTest.php index 96014e2..93be6bf 100644 --- a/tests/Unit/SendDailySummaryToSlackTest.php +++ b/tests/Unit/SendDailySummaryToSlackTest.php @@ -38,7 +38,7 @@ class SendDailySummaryToSlackTest extends TestCase Http::assertSentCount(1); } - public function testCommandDoesntSendIfWeekend(): void + public function testCommandDoesntSendMessageIfWeekend(): void { $weekend = Carbon::create(2022, 4, 23); $this->assertTrue($weekend->isWeekend()); @@ -51,7 +51,7 @@ class SendDailySummaryToSlackTest extends TestCase Http::assertNothingSent(); } - public function testCommandDoesntSendIfHoliday(): void + public function testCommandDoesntSendMessageIfHoliday(): void { $holiday = Holiday::factory(["date" => Carbon::create(2022, 4, 22)])->create();