chore: cleanup, update documentation
This commit is contained in:
1 parent
03ac430be4
commit
38656e73c5
3 files changed
+49
-14
No files matched your search
@@ -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