Skip to content

Commit

Permalink
fix: test setup [DHIS2-15276]
Browse files Browse the repository at this point in the history
  • Loading branch information
jbee committed Nov 20, 2023
1 parent 0afd1bf commit 13cee5a
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.jsonPath;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;

import com.fasterxml.jackson.databind.ObjectMapper;
import java.util.HashMap;
import java.util.LinkedList;
import org.hisp.dhis.common.CodeGenerator;
Expand Down Expand Up @@ -111,7 +112,8 @@ public void setUp() {
csvEventService,
notifier,
jobSchedulerService,
jobConfigurationService);
jobConfigurationService,
new ObjectMapper());

mockMvc =
MockMvcBuilders.standaloneSetup(controller)
Expand Down

0 comments on commit 13cee5a

Please sign in to comment.