chore: cleanup, update documentation
This commit is contained in:
@@ -152,10 +152,12 @@ class ParticipantAssignedRoomFieldHandlerTest extends TestCase
|
||||
// Participant 1 should have a warning notification
|
||||
$notifications = $participant1->notifications;
|
||||
$this->assertCount(1, $notifications);
|
||||
$this->assertSame('warning', $notifications[0]['type']);
|
||||
$this->assertStringContainsString('Doppelzimmer', $notifications[0]['message']);
|
||||
$this->assertStringContainsString('wurde von', $notifications[0]['message']);
|
||||
$this->assertStringContainsString('entfernt', $notifications[0]['message']);
|
||||
// Get first notification (notifications are keyed by hash, not numeric index)
|
||||
$firstNotification = reset($notifications);
|
||||
$this->assertSame('warning', $firstNotification['type']);
|
||||
$this->assertStringContainsString('Doppelzimmer', $firstNotification['message']);
|
||||
$this->assertStringContainsString('wurde von', $firstNotification['message']);
|
||||
$this->assertStringContainsString('entfernt', $firstNotification['message']);
|
||||
}
|
||||
|
||||
public function testProcessFieldDoesNotGenerateNotificationForAssignedParticipant(): void
|
||||
|
||||
Reference in New Issue
Block a user