Skip to content

Commit 48540f5

Browse files
AndreaGiulianellimergify[bot]
authored andcommitted
style: correct code to adhere to new kotlin qa rules
1 parent eebad6b commit 48540f5

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/test/kotlin/infrastructure/api/RoomApiTest.kt

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,13 @@ class RoomApiTest : StringSpec({
133133
insertRoom(roomEntry)
134134
val response = client.get("/api/v1/rooms/data/${roomEntry.id}")
135135
response shouldHaveStatus HttpStatusCode.OK
136-
Json.decodeFromString<ApiResponses.ResponseEntryList<ApiResponses.ResponseTimedEntry<
137-
RoomEnvironmentalData,>,>,>(
136+
Json.decodeFromString<
137+
ApiResponses.ResponseEntryList<
138+
ApiResponses.ResponseTimedEntry<
139+
RoomEnvironmentalData,
140+
>,
141+
>,
142+
>(
138143
response.bodyAsText(),
139144
).total shouldBe 0
140145
}

0 commit comments

Comments
 (0)