feat: add bookable flag to product export rooms

This commit is contained in:
fromme committed 2026-11-10 17:32:38 +01:00
1 parent 2b27b9809d
commit 0ff312c0c0
10 files changed
+126 -28

No files matched your search

@@ -69,12 +69,14 @@ class ProductExportBuilderTest extends TestCase
'price' => 229.5,
'available' => 24,
'status' => 'Frei',
'bookable' => true,
'boardCode' => 'Lt. Auss.',
'boardBusProId' => 2,
], $rooms[0]);
// Buchungsstop rooms reach the consumer: "ausgebucht" is its call.
self::assertSame('Buchungsstop', $rooms[1]['status']);
self::assertFalse($rooms[1]['bookable']);
self::assertSame(3, $rooms[1]['maxPax'], 'MaxPax is read despite its casing');
}