wip
This commit is contained in:
parent
fad4290cc3
commit
26f248a3f1
@ -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();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user