From 38d7c06d387e86d43eb23aa03e9edbffafbac3f6 Mon Sep 17 00:00:00 2001 From: OZGCloud <ozgcloud@mgm-tp.com> Date: Tue, 1 Nov 2022 12:41:31 +0100 Subject: [PATCH] OZG-2626 OZG-3065 adjust description/naming --- .../kop/notification/user/UserNotificationServiceTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/notification-manager/src/test/java/de/itvsh/kop/notification/user/UserNotificationServiceTest.java b/notification-manager/src/test/java/de/itvsh/kop/notification/user/UserNotificationServiceTest.java index 14baeb2d9..d3af3bd5b 100644 --- a/notification-manager/src/test/java/de/itvsh/kop/notification/user/UserNotificationServiceTest.java +++ b/notification-manager/src/test/java/de/itvsh/kop/notification/user/UserNotificationServiceTest.java @@ -57,12 +57,12 @@ class UserNotificationServiceTest { } } - @DisplayName("with valid orgaId") + @DisplayName("with null as orgaId") @Nested - class TestWithInValidOrgaId { + class TestWithInvalidOrgaId { @Test - void shouldSendEmail() { + void shouldThrowIllegalArgumentException() { assertThatThrownBy(() -> service.sendNotification(null)) .isInstanceOf(IllegalArgumentException.class) .withFailMessage("organisationsEinheitId cannot be null."); -- GitLab