From d840e0f823a5c91190cfcbd06c53928998e9a465 Mon Sep 17 00:00:00 2001
From: OZGCloud <ozgcloud@mgm-tp.com>
Date: Tue, 13 Aug 2024 15:43:38 +0200
Subject: [PATCH] WIP: OZG-6275 PR Kommentar bearbeitet

---
 .../nachrichten/postfach/muk/PostfachNachrichtTestFactory.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/java/de/ozgcloud/nachrichten/postfach/muk/PostfachNachrichtTestFactory.java b/src/test/java/de/ozgcloud/nachrichten/postfach/muk/PostfachNachrichtTestFactory.java
index 1cda11a..e67663c 100644
--- a/src/test/java/de/ozgcloud/nachrichten/postfach/muk/PostfachNachrichtTestFactory.java
+++ b/src/test/java/de/ozgcloud/nachrichten/postfach/muk/PostfachNachrichtTestFactory.java
@@ -57,7 +57,7 @@ public class PostfachNachrichtTestFactory {
 	public static final int POSTFACH_TYPE = 1;
 	public static final String SUBJECT = LoremIpsum.getInstance().getTitle(1);
 	public static final String MESSAGE_ID = UUID.randomUUID().toString();
-	public static final String NACHRICHT_ID = new ObjectId().toHexString();
+	public static final String NACHRICHT_ID = ObjectId.get().toHexString();
 
 	public static PostfachNachricht create() {
 		return createBuilder().build();
-- 
GitLab