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" ) }