File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/test/java/org/phoebus/channelfinder Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -89,13 +89,13 @@ public void cleanup() {
8989 private void getAndExpectMetric (String paramValue , String endpoint , int expectedValue )
9090 throws Exception {
9191 mockMvc
92- .perform (get (METRICS_ENDPOINT + endpoint ).param (METRICS_PARAM_KEY , paramValue ))
92+ .perform (get (METRICS_ENDPOINT + "/" + endpoint ).param (METRICS_PARAM_KEY , paramValue ))
9393 .andExpect (jsonPath ("$.measurements[0].value" ).value (expectedValue ));
9494 }
9595
9696 private void getAndExpectMetricParent (String endpoint , int expectedValue ) throws Exception {
9797 mockMvc
98- .perform (get (METRICS_ENDPOINT + endpoint ))
98+ .perform (get (METRICS_ENDPOINT + "/" + endpoint ))
9999 .andExpect (jsonPath ("$.measurements[0].value" ).value (expectedValue ));
100100 }
101101
You can’t perform that action at this time.
0 commit comments