DATAREST-1394 - Upgrade to Spring Plugin 2.0 M2.

This commit is contained in:
Oliver Drotbohm
2019-06-14 01:40:39 +02:00
committed by Oliver Drotbohm
parent b84aa1779c
commit 7ea19bdc5b
2 changed files with 2 additions and 1 deletions

View File

@@ -16,7 +16,7 @@
</parent>
<properties>
<springplugin>2.0.0.M1</springplugin>
<springplugin>2.0.0.M2</springplugin>
<evoinflector>1.2.2</evoinflector>
<java-module-name>spring.data.rest.core</java-module-name>
<project.root>${basedir}/..</project.root>

View File

@@ -52,6 +52,7 @@ public class BackendIdHandlerMethodArgumentResolverUnitTests {
ResourceMetadata metadata = mock(ResourceMetadata.class);
doReturn(metadata).when(delegate).resolveArgument(any(), any(), any(), any());
doReturn(Object.class).when(metadata).getDomainType();
doReturn(true).when(converter).supports(any());
MethodParameter parameter = new MethodParameter(Sample.class.getMethod("sampleMethod", Serializable.class), 0);