From ec9fb4fd6cc8d1daa47259004bb5c203312751ab Mon Sep 17 00:00:00 2001 From: Andrea Giulianelli Date: Sun, 5 Mar 2023 18:11:28 +0100 Subject: [PATCH] test: update room entry test --- .../application/presenter/api/ApiSerializationTest.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/test/kotlin/application/presenter/api/ApiSerializationTest.kt b/src/test/kotlin/application/presenter/api/ApiSerializationTest.kt index 3745c172..5a3d3365 100644 --- a/src/test/kotlin/application/presenter/api/ApiSerializationTest.kt +++ b/src/test/kotlin/application/presenter/api/ApiSerializationTest.kt @@ -91,10 +91,10 @@ class ApiSerializationTest : StringSpec({ "It should be possible to serialize a room in a room entry" { room.toRoomEntry() shouldBe RoomEntry( - id = room.id.value, - name = room.name ?: "", - zoneId = room.zoneId.value, - type = room.type.toString() + id = "r1", + name = "name", + zoneId = "z1", + type = "OPERATING_ROOM" ) }