This commit is contained in:
Adrian Hopek 2022-04-22 13:01:58 +02:00
parent fad4290cc3
commit 26f248a3f1

View File

@ -38,7 +38,7 @@ class SendDailySummaryToSlackTest extends TestCase
Http::assertSentCount(1); Http::assertSentCount(1);
} }
public function testCommandDoesntSendIfIsWeekend(): void public function testCommandDoesntSendIfWeekend(): void
{ {
$weekend = Carbon::create(2022, 4, 23); $weekend = Carbon::create(2022, 4, 23);
$this->assertTrue($weekend->isWeekend()); $this->assertTrue($weekend->isWeekend());
@ -51,7 +51,7 @@ class SendDailySummaryToSlackTest extends TestCase
Http::assertNothingSent(); Http::assertNothingSent();
} }
public function testCommandDoesntSendIfIsHoliday(): void public function testCommandDoesntSendIfHoliday(): void
{ {
$holiday = Holiday::factory(["date" => Carbon::create(2022, 4, 22)])->create(); $holiday = Holiday::factory(["date" => Carbon::create(2022, 4, 22)])->create();