From fc965a6c81ed6615b4fae5117b35951ca808d4b7 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Tue, 5 Sep 2023 23:48:30 +0200 Subject: [PATCH] refactor: Renamed `ChatRoom` into `ChatRoomData` - Aligned Code --- src/test/resources/data/mongodb/0001.sh | 2 +- src/test/resources/data/mongodb/chatRoomTo.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/resources/data/mongodb/0001.sh b/src/test/resources/data/mongodb/0001.sh index 76199dcb..ec4ebbf7 100644 --- a/src/test/resources/data/mongodb/0001.sh +++ b/src/test/resources/data/mongodb/0001.sh @@ -1,3 +1,3 @@ #!/bin/bash mongoimport --collection=chatRoomTo --db=test /docker-entrypoint-initdb.d/chatRoomTo.json -mongoimport --collection=chatRoomTo --db=test /docker-entrypoint-initdb.d/messageTo.json +mongoimport --collection=messageTo --db=test /docker-entrypoint-initdb.d/messageTo.json diff --git a/src/test/resources/data/mongodb/chatRoomTo.json b/src/test/resources/data/mongodb/chatRoomTo.json index 072d1264..db26b899 100644 --- a/src/test/resources/data/mongodb/chatRoomTo.json +++ b/src/test/resources/data/mongodb/chatRoomTo.json @@ -1,5 +1,5 @@ { - "_id": "a9e30ed3-7fd1-4eb9-b174-eebbf6ecfea9", + "_id": "5c73531c-6fc4-426c-adcb-afc5c140a0f7", "shard": 0, "name": "FOO", "_class": "de.juplo.kafka.chat.backend.persistence.storage.mongodb.ChatRoomTo" -- 2.20.1