Skip to content

Commit a15d43f

Browse files
committed
Adopt tests to Spring Data Commons changes.
Closes #2797
1 parent 58c04a9 commit a15d43f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/test/java/org/springframework/data/redis/repository/query/RedisQueryCreatorUnitTests.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
import org.springframework.data.repository.core.RepositoryMetadata;
3939
import org.springframework.data.repository.query.DefaultParameters;
4040
import org.springframework.data.repository.query.ParametersParameterAccessor;
41+
import org.springframework.data.repository.query.ParametersSource;
4142
import org.springframework.data.repository.query.parser.PartTree;
4243

4344
/**
@@ -193,7 +194,7 @@ private RedisQueryCreator createQueryCreatorForMethodWithArgs(Method method, Obj
193194

194195
PartTree partTree = new PartTree(method.getName(), method.getReturnType());
195196
RedisQueryCreator creator = new RedisQueryCreator(partTree,
196-
new ParametersParameterAccessor(new DefaultParameters(method), args));
197+
new ParametersParameterAccessor(new DefaultParameters(ParametersSource.of(method)), args));
197198

198199
return creator;
199200
}

0 commit comments

Comments
 (0)