feat: additional functionality and layout adjustments for season teamers
This commit is contained in:
1 parent
80c6016da3
commit
4cab57d136
30 files changed
+916
-192
No files matched your search
@@ -185,21 +185,6 @@ class SeasonTaskReminderServiceTest extends TestCase
|
||||
$this->service->sendTeamerDigest($this->monday());
|
||||
}
|
||||
|
||||
/**
|
||||
* The flag is the office's own note and silences nothing: only ticking the entry off does.
|
||||
*/
|
||||
public function testDoneTeamerDoesNotSuppressTheDigest(): void
|
||||
{
|
||||
$task = $this->task('2026-11-01');
|
||||
$task->getSeasonAssignment()->setDoneTeamer(true);
|
||||
|
||||
$this->repository->method('findOpen')->willReturn([$task]);
|
||||
|
||||
$this->mailer->expects($this->once())->method('createAndSendText');
|
||||
|
||||
$this->service->sendTeamerDigest($this->monday());
|
||||
}
|
||||
|
||||
private function monday(): \DateTimeImmutable
|
||||
{
|
||||
// 2026-10-05 is a monday, and inside the season the digest is scoped to
|
||||
|
||||
Reference in new issue
Block a user