Skip to content

Commit

Permalink
Add content to the request body in SensitivityAnalysisControllerTest.…
Browse files Browse the repository at this point in the history
…java

Signed-off-by: Florent MILLOT <[email protected]>
  • Loading branch information
flomillot committed Feb 6, 2024
1 parent 1451969 commit dcee2fb
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,9 @@ public void testDeterministicResult() throws Exception {
MvcResult result = mockMvc.perform(post(
"/" + VERSION + "/networks/{networkUuid}/run-and-save?reportType=SensitivityAnalysis&receiver=me&variantId=" + VARIANT_2_ID, NETWORK_UUID)
.contentType(MediaType.APPLICATION_JSON)
.header(HEADER_USER_ID, "testUserId"))
.header(HEADER_USER_ID, "testUserId")
.content(DEFAULT_LOADFLOW_PARAMS))

.andExpect(status().isOk())
.andExpect(content().contentType(MediaType.APPLICATION_JSON))
.andReturn();
Expand Down

0 comments on commit dcee2fb

Please sign in to comment.