From 856f828dce2beeefb9d4d7320275e0bfebf95cd3 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Tue, 5 Sep 2023 23:46:46 +0200 Subject: [PATCH] refactor: Renamed `ChatRoom` into `ChatRoomData` - Aligned Code --- src/test/resources/data/mongodb/messageTo.json | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/src/test/resources/data/mongodb/messageTo.json b/src/test/resources/data/mongodb/messageTo.json index dd64f59f..02fed6ff 100644 --- a/src/test/resources/data/mongodb/messageTo.json +++ b/src/test/resources/data/mongodb/messageTo.json @@ -1,7 +1,5 @@ { - "_id": { - "$oid": "64f7952cecf06d750cad4b9c" - }, + "_id": "64f7952cecf06d750cad4b9c", "chatRoomId": "5c73531c-6fc4-426c-adcb-afc5c140a0f7", "user": "peter", "id": 1, @@ -11,9 +9,7 @@ "_class": "de.juplo.kafka.chat.backend.persistence.storage.mongodb.MessageTo" } { - "_id": { - "$oid": "64f7952cecf06d750cad4b9d" - }, + "_id": "64f7952cecf06d750cad4b9d", "chatRoomId": "5c73531c-6fc4-426c-adcb-afc5c140a0f7", "user": "ute", "id": 1, @@ -23,9 +19,7 @@ "_class": "de.juplo.kafka.chat.backend.persistence.storage.mongodb.MessageTo" } { - "_id": { - "$oid": "64f7952cecf06d750cad4b9e" - }, + "_id": "64f7952cecf06d750cad4b9e", "chatRoomId": "5c73531c-6fc4-426c-adcb-afc5c140a0f7", "user": "peter", "id": 2, @@ -35,9 +29,7 @@ "_class": "de.juplo.kafka.chat.backend.persistence.storage.mongodb.MessageTo" } { - "_id": { - "$oid": "64f7953ddf7a9063e0b1f7dc" - }, + "_id": "64f7953ddf7a9063e0b1f7dc", "chatRoomId": "5c73531c-6fc4-426c-adcb-afc5c140a0f7", "user": "klaus", "id": 1, -- 2.20.1