Skip to content

Commit 7ee5c28

Browse files
committed
Fix test for JUnit 4
Original pull request #2229 See #2228
1 parent 7cdc8fe commit 7ee5c28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/org/springframework/data/jpa/repository/query/ExpressionBasedStringQueryUnitTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public void shouldDetectBindParameterCountCorrectly() {
7373
}
7474

7575
@Test // GH-2228
76-
void shouldDetectBindParameterCountCorrectlyWithJDBCStyleParameters() {
76+
public void shouldDetectBindParameterCountCorrectlyWithJDBCStyleParameters() {
7777

7878
StringQuery query = new ExpressionBasedStringQuery(
7979
"select n from #{#entityName} n where (LOWER(n.name) LIKE LOWER(NULLIF(text(concat('%',?#{#networkRequest.name},'%')), '')) OR ?#{#networkRequest.name} IS NULL )\"\n"

0 commit comments

Comments
 (0)