Fix test execution

This commit is contained in:
Paulo Gustavo Veiga
2023-07-28 23:09:44 -07:00
parent a66dff8ae4
commit 53173ec75d
5 changed files with 58 additions and 7 deletions

View File

@@ -11,13 +11,13 @@
</File>
</Appenders>
<Loggers>
<Logger name="com.wisemapping" level="debug">
<Logger name="com.wisemapping" level="warn">
<AppenderRef ref="LogToConsole"/>
</Logger>
<Logger name="org.springframework" level="trace">
<Logger name="org.springframework" level="warn">
<AppenderRef ref="LogToConsole"/>
</Logger>
<Root level="trace">
<Root level="warn">
<AppenderRef ref="LogToConsole"/>
</Root>
</Loggers>

View File

@@ -71,7 +71,7 @@ public class RestLabelITCase {
static RestLabelList getLabels(HttpHeaders requestHeaders, RestTemplate template) {
final HttpEntity findLabelEntity = new HttpEntity(requestHeaders);
final ResponseEntity<RestLabelList> response = template.exchange(BASE_REST_URL + "/labels", HttpMethod.GET, findLabelEntity, RestLabelList.class);
final ResponseEntity<RestLabelList> response = template.exchange(BASE_REST_URL + "/labels/", HttpMethod.GET, findLabelEntity, RestLabelList.class);
return response.getBody();
}