feat: render the floor plan in html instead of svg

This commit is contained in:
fromme committed 2026-09-17 16:10:50 +02:00
1 parent 5a01054b0e
commit ad5d5acb00
20 files changed
+256 -356

No files matched your search

+2 -2
View File
@@ -109,7 +109,7 @@ class SpotGroupTest extends TestCase
*/
private function spot(string $label, ?ResourceGroup $group, array $bookings = []): Spot
{
$resource = new Resource(ResourceType::DESK, $label, strtolower($label));
$resource = new Resource(ResourceType::DESK, $label);
$resource->setGroup($group);
return Spot::for($resource, $bookings, TimeRange::wholeDay(), $this->viewer());
@@ -119,7 +119,7 @@ class SpotGroupTest extends TestCase
{
return new Booking(
new UserWithId('[email protected]', 'Bea', 2),
new Resource(ResourceType::DESK, 'X', 'x'),
new Resource(ResourceType::DESK, 'X'),
new \DateTimeImmutable('2026-10-01'),
TimeRange::fromMinutes($start, $end),
);