Skip to content
Snippets Groups Projects
Commit ffbb43ff authored by Zhibin Mai's avatar Zhibin Mai
Browse files

Update unit test

parent 37e11eab
No related branches found
No related tags found
1 merge request!611Always update schema mapping to ElasticSearch when re-index is triggered
Checking pipeline status
......@@ -64,7 +64,7 @@ public class ReindexApiTest {
@Test
public void should_return200_when_valid_kind_provided() throws IOException {
when(this.reIndexService.reindexKind(recordReindexRequest, false, false)).thenReturn("something");
when(this.reIndexService.reindexKind(recordReindexRequest, false, true)).thenReturn("something");
ResponseEntity<?> response = sut.reindex(recordReindexRequest, false);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment