diff --git a/audit-base/src/test/resources/application.properties b/audit-base/src/test/resources/application.properties
index b5d2db4..a7b0b00 100644
--- a/audit-base/src/test/resources/application.properties
+++ b/audit-base/src/test/resources/application.properties
@@ -2,7 +2,7 @@
spring.h2.console.enabled=true
spring.h2.console.path=/h2
# Datasource
-spring.datasource.url=jdbc:h2:file:~/audit
+spring.datasource.url=jdbc:h2:mem:~/audit
spring.datasource.username=sa
spring.datasource.password=
spring.datasource.driver-class-name=org.h2.Driver
diff --git a/pom.xml b/pom.xml
index d4bbf06..6af6f8e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -58,7 +58,7 @@
3.2.2
- 3.1.6
+ 3.2.0
1.4.14
3.0.1
diff --git a/rest-client-base/src/test/java/com/wultra/core/rest/client/base/controller/PublicTestRestController.java b/rest-client-base/src/test/java/com/wultra/core/rest/client/base/controller/PublicTestRestController.java
index b2c8ad4..958e232 100644
--- a/rest-client-base/src/test/java/com/wultra/core/rest/client/base/controller/PublicTestRestController.java
+++ b/rest-client-base/src/test/java/com/wultra/core/rest/client/base/controller/PublicTestRestController.java
@@ -80,7 +80,7 @@ public ObjectResponse testPostWithObjectRequestAndResponse(@Reques
}
@PostMapping(value = "/multipart-request-response", consumes = { MediaType.MULTIPART_FORM_DATA_VALUE })
- public ObjectResponse testPostWithMultipartRequestAndResponse(@RequestPart TestRequest request) {
+ public ObjectResponse testPostWithMultipartRequestAndResponse(@RequestPart("request") TestRequest request) {
TestResponse testResponse = new TestResponse(request.getRequest());
return new ObjectResponse<>(testResponse);
}
diff --git a/rest-client-base/src/test/java/com/wultra/core/rest/client/base/model/TestRequest.java b/rest-client-base/src/test/java/com/wultra/core/rest/client/base/model/TestRequest.java
index 76c8960..775d74c 100644
--- a/rest-client-base/src/test/java/com/wultra/core/rest/client/base/model/TestRequest.java
+++ b/rest-client-base/src/test/java/com/wultra/core/rest/client/base/model/TestRequest.java
@@ -15,11 +15,14 @@
*/
package com.wultra.core.rest.client.base.model;
+import lombok.ToString;
+
/**
* Test request.
*
* @author Roman Strobl, roman.strobl@wultra.com
*/
+@ToString
public class TestRequest {
private String request;