File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
src/test/java/org/tuna/zoopzoop/backend/domain/space/membership/controller Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -278,12 +278,14 @@ void getMyInvites_Success() throws Exception {
278278 resultActions
279279 .andExpect (jsonPath ("$.data.spaces" ).isArray ())
280280 .andExpect (jsonPath ("$.data.spaces.length()" ).value (2 ))
281- .andExpect (jsonPath ("$.data.spaces[0].id" ).value (space1 .getId ()))
282- .andExpect (jsonPath ("$.data.spaces[0].name" ).value (space1 .getName ()))
283- .andExpect (jsonPath ("$.data.spaces[0].thumbnailUrl" ).value (space1 .getThumbnailUrl ()))
284- .andExpect (jsonPath ("$.data.spaces[1].id" ).value (space2 .getId ()))
285- .andExpect (jsonPath ("$.data.spaces[1].name" ).value (space2 .getName ()))
286- .andExpect (jsonPath ("$.data.spaces[1].thumbnailUrl" ).value (space2 .getThumbnailUrl ()));
281+ .andExpect (jsonPath ("$.data.spaces[0].spaceId" ).value (space1 .getId ()))
282+ .andExpect (jsonPath ("$.data.spaces[0].spaceName" ).value (space1 .getName ()))
283+ .andExpect (jsonPath ("$.data.spaces[0].spaceThumbnailUrl" ).value (space1 .getThumbnailUrl ()))
284+ .andExpect (jsonPath ("$.data.spaces[0].inviteId" ).isNumber ())
285+ .andExpect (jsonPath ("$.data.spaces[1].spaceId" ).value (space2 .getId ()))
286+ .andExpect (jsonPath ("$.data.spaces[1].spaceName" ).value (space2 .getName ()))
287+ .andExpect (jsonPath ("$.data.spaces[1].spaceThumbnailUrl" ).value (space2 .getThumbnailUrl ()))
288+ .andExpect (jsonPath ("$.data.spaces[1].inviteId" ).isNumber ());
287289 }
288290
289291
You can’t perform that action at this time.
0 commit comments