Skip to content

Commit 23ff807

Browse files
committed
Remove tests that check for absence of parameter names.
Closes #2444
1 parent 3c887f6 commit 23ff807

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

Diff for: src/test/java/org/springframework/data/repository/query/ParametersUnitTests.java

-8
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,6 @@ void checksValidMethodCorrectly() throws Exception {
5858
new DefaultParameters(validWithSort);
5959
}
6060

61-
@Test
62-
void rejectsInvalidMethodWithParamMissing() throws Exception {
63-
64-
Method method = SampleDao.class.getMethod("invalidParamMissing", String.class, String.class);
65-
66-
assertThatIllegalArgumentException().isThrownBy(() -> new DefaultParameters(method));
67-
}
68-
6961
@Test
7062
void rejectsNullMethod() {
7163
assertThatIllegalArgumentException().isThrownBy(() -> new DefaultParameters(null));

0 commit comments

Comments
 (0)