Skip to content
Snippets Groups Projects
Commit 38d7c06d authored by OZGCloud's avatar OZGCloud
Browse files

OZG-2626 OZG-3065 adjust description/naming

parent 3e2201cc
No related branches found
No related tags found
No related merge requests found
...@@ -57,12 +57,12 @@ class UserNotificationServiceTest { ...@@ -57,12 +57,12 @@ class UserNotificationServiceTest {
} }
} }
@DisplayName("with valid orgaId") @DisplayName("with null as orgaId")
@Nested @Nested
class TestWithInValidOrgaId { class TestWithInvalidOrgaId {
@Test @Test
void shouldSendEmail() { void shouldThrowIllegalArgumentException() {
assertThatThrownBy(() -> service.sendNotification(null)) assertThatThrownBy(() -> service.sendNotification(null))
.isInstanceOf(IllegalArgumentException.class) .isInstanceOf(IllegalArgumentException.class)
.withFailMessage("organisationsEinheitId cannot be null."); .withFailMessage("organisationsEinheitId cannot be null.");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment