Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
viacheslavkol committed Oct 17, 2024
1 parent 09bb294 commit 57eb1b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ void runReindex_positive_authority() throws Exception {

mockMvc.perform(request)
.andExpect(status().isOk())
.andExpect(jsonPath("$.id", is("77ef33c0-2774-45e9-9f45-eb54082e2820")))
.andExpect(jsonPath("$.id", is("37bd1461-ee1a-4522-9f8c-93bab186fad3")))
.andExpect(jsonPath("$.jobStatus", is("In progress")))
.andExpect(jsonPath("$.submittedDate", is("2021-11-08T12:00:00.000+00:00")));
.andExpect(jsonPath("$.submittedDate", is("2021-11-08T13:00:00.000+00:00")));
}

@Test
Expand Down
17 changes: 0 additions & 17 deletions src/test/resources/mappings/inventory.json
Original file line number Diff line number Diff line change
Expand Up @@ -188,23 +188,6 @@
}
}
},
{
"request": {
"method": "POST",
"url": "/instance-storage/reindex"
},
"response": {
"status": 200,
"jsonBody": {
"id": "77ef33c0-2774-45e9-9f45-eb54082e2820",
"jobStatus": "In progress",
"submittedDate": "2021-11-08T12:00:00.000+00:00"
},
"headers": {
"Content-Type": "application/json"
}
}
},
{
"request": {
"method": "POST",
Expand Down

0 comments on commit 57eb1b4

Please sign in to comment.