die tenant admin oauth authentifizierung wurde implementiert und funktioniert jetzt. Zudem wurde das marketing frontend dashboard implementiert.
This commit is contained in:
@@ -133,6 +133,8 @@ class EventListTest extends TenantTestCase
|
||||
$matchingEvent = collect($response->json('data'))->firstWhere('id', $event->id);
|
||||
|
||||
$this->assertNotNull($matchingEvent, 'Event should still be returned even if package record is missing.');
|
||||
$this->assertNull($matchingEvent['package'], 'Package payload should be null when relation cannot be resolved.');
|
||||
$this->assertIsArray($matchingEvent['package'], 'Package payload should provide fallback data when relation is missing.');
|
||||
$this->assertSame($package->id, $matchingEvent['package']['id']);
|
||||
$this->assertSame((string) $package->price, $matchingEvent['package']['price']);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user