From f1bc66160fbe9d3263dd6b06cda76c8124707688 Mon Sep 17 00:00:00 2001
From: Felix Reichenbach <felix.reichenbach@mgm-tp.com>
Date: Mon, 20 Jan 2025 16:43:52 +0100
Subject: [PATCH] fix reference to PersistPostfachNachrichtByCommandServiceTest

---
 .../PersistPostfachNachrichtByCommandServiceTest.java      | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/vorgang-manager-server/src/test/java/de/ozgcloud/vorgang/command/PersistPostfachNachrichtByCommandServiceTest.java b/vorgang-manager-server/src/test/java/de/ozgcloud/vorgang/command/PersistPostfachNachrichtByCommandServiceTest.java
index d4ab5e0f2..3f2d58eb5 100644
--- a/vorgang-manager-server/src/test/java/de/ozgcloud/vorgang/command/PersistPostfachNachrichtByCommandServiceTest.java
+++ b/vorgang-manager-server/src/test/java/de/ozgcloud/vorgang/command/PersistPostfachNachrichtByCommandServiceTest.java
@@ -188,9 +188,10 @@ class PersistPostfachNachrichtByCommandServiceTest {
 
 		@Test
 		void shouldThrowException() {
-			assertThatThrownBy(() -> service.findAnswers(serviceKontoType, PostfachAddressTestFactory.STRING_BASED_IDENTIFIER_POSTFACH_ID_VALUE,
-					GrpcPostfachMailTestFactory.REFERENCED_NACHRICHT_ID))
-					.isInstanceOf(UnsupportedOperationException.class);
+			assertThatThrownBy(
+					() -> service.findAnswers(serviceKontoType, PostfachAddressTestFactory.IDENTIFIER.toString(),
+							GrpcPostfachMailTestFactory.REFERENCED_NACHRICHT_ID))
+									.isInstanceOf(UnsupportedOperationException.class);
 		}
 	}
 }
-- 
GitLab