fix: read one-sided booking times as "ab" and "bis"
This commit is contained in:
1 parent
179769187b
commit
bbb0a8aaa2
4 files changed
+29
-4
No files matched your search
@@ -56,7 +56,7 @@ class FloorPlanTest extends WebTestCase
|
||||
$this->book($desk, $this->user('[email protected]', 'Bea Kranz'), 540, 780);
|
||||
|
||||
self::assertSame(
|
||||
['Schreibtisch 01', 'Bea K. 09:00–13:00', 'frei 13:00–24:00'],
|
||||
['Schreibtisch 01', 'Bea K. 09:00–13:00', 'frei ab 13:00'],
|
||||
$this->linesOf($this->board()),
|
||||
);
|
||||
}
|
||||
@@ -112,7 +112,7 @@ class FloorPlanTest extends WebTestCase
|
||||
$lines = $this->linesOf($this->board());
|
||||
|
||||
self::assertSame(
|
||||
['Schreibtisch 01', 'Ann A. 00:00–06:00', 'Bea B. 06:00–12:00', '+2 weitere'],
|
||||
['Schreibtisch 01', 'Ann A. bis 06:00', 'Bea B. 06:00–12:00', '+2 weitere'],
|
||||
$lines,
|
||||
);
|
||||
// Label plus MAX_LINES, never more.
|
||||
|
||||
Reference in new issue
Block a user