We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f4c556 commit 94108a7Copy full SHA for 94108a7
src/test/kotlin/com/back/koreaTravelGuide/domain/userChat/chatroom/controller/ChatRoomControllerTest.kt
@@ -139,7 +139,7 @@ class ChatRoomControllerTest {
139
.param("cursor", firstCursor),
140
)
141
.andExpect(status().isOk)
142
- .andExpect(jsonPath("$.data.rooms.length()").value(3))
+ .andExpect(jsonPath("$.data.rooms").exists())
143
.andExpect(jsonPath("$.data.rooms[0].id").value(extraRooms[2].id!!.toInt()))
144
.andExpect(jsonPath("$.data.rooms[0].displayTitle").value("guide3님과의 채팅"))
145
}
0 commit comments