fix: read one-sided booking times as "ab" and "bis"

This commit is contained in:
fromme committed 2026-09-25 16:20:06 +02:00
1 parent 179769187b
commit bbb0a8aaa2
4 files changed
+29 -4

No files matched your search

+1 -1
View File
@@ -42,7 +42,7 @@ class SpotTest extends TestCase
// Taken 09:00-13:00 leaves 00:00-09:00 (9h) and 13:00-24:00 (11h).
$spot = $this->spot([$this->booking($this->someoneElse(), 540, 780)]);
self::assertSame('13:00–24:00', (string) $spot->suggested());
self::assertSame('ab 13:00', (string) $spot->suggested());
}
public function testTheSuggestedWindowIsAlwaysBookable(): void