refactor: Renamed `ChatRoom` into `ChatRoomData` - Aligned Code
authorKai Moritz <kai@juplo.de>
Tue, 5 Sep 2023 21:46:46 +0000 (23:46 +0200)
committerKai Moritz <kai@juplo.de>
Tue, 5 Sep 2023 21:46:46 +0000 (23:46 +0200)
src/test/resources/data/mongodb/messageTo.json

index dd64f59..02fed6f 100644 (file)
@@ -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,