Skip to content
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.

Commit

Permalink
changed ssl to TLSv1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
vidhya9lakshmi committed Jul 9, 2021
1 parent 9a9f889 commit 76b6651
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,12 @@ public void createDashboard_nullRequest() throws Exception {
.contentType(TestUtil.APPLICATION_JSON_UTF8)
.content(TestUtil.convertObjectToJsonBytes(new DashboardRequest())))
.andExpect(status().isBadRequest())
.andExpect(jsonPath("$.fieldErrors.template", hasItems("may not be null")))
.andExpect(jsonPath("$.fieldErrors.template", hasItems("must not be null")))
// TODO: These are no longer necessary in all cases. Potentially add new class-level validator.
// .andExpect(jsonPath("$.fieldErrors.componentName", hasItems("may not be null")))
// .andExpect(jsonPath("$.fieldErrors.applicationName", hasItems("may not be null")))
.andExpect(jsonPath("$.fieldErrors.type", hasItems("may not be null")))
.andExpect(jsonPath("$.fieldErrors.dashboardRequestTitle", hasItems("may not be null")));
.andExpect(jsonPath("$.fieldErrors.type", hasItems("must not be null")))
.andExpect(jsonPath("$.fieldErrors.dashboardRequestTitle", hasItems("must not be null")));
}

@Test
Expand Down Expand Up @@ -308,7 +308,7 @@ public void renameTeamDashboard_nullTitle() throws Exception {
.contentType(TestUtil.APPLICATION_JSON_UTF8)
.content(TestUtil.convertObjectToJsonBytes(request)))
.andExpect(status().isBadRequest())
.andExpect(jsonPath("$.fieldErrors.title", hasItems("may not be null")))
.andExpect(jsonPath("$.fieldErrors.title", hasItems("must not be null")))
;
}

Expand Down

0 comments on commit 76b6651

Please sign in to comment.