25
25
26
26
import org .junit .jupiter .api .AfterEach ;
27
27
import org .junit .jupiter .api .BeforeEach ;
28
- import org .junit .jupiter .api .Disabled ;
29
28
import org .junit .jupiter .api .Test ;
30
29
import org .junit .jupiter .api .extension .ExtendWith ;
31
30
import org .springframework .beans .factory .annotation .Autowired ;
@@ -235,7 +234,6 @@ void parametersForContainsGetProperlyEscaped() {
235
234
.isEmpty ();
236
235
}
237
236
238
- @ Disabled ("Can't get ESCAPE clause working with Hibernate" )
239
237
@ Test // DATAJPA-1519
240
238
void escapingInLikeSpels () {
241
239
@@ -246,7 +244,6 @@ void escapingInLikeSpels() {
246
244
assertThat (userRepository .findContainingEscaped ("att_" )).containsExactly (extra );
247
245
}
248
246
249
- @ Disabled ("Can't get ESCAPE clause working with Hibernate" )
250
247
@ Test // DATAJPA-1522
251
248
void escapingInLikeSpelsInThePresenceOfEscapeCharacters () {
252
249
@@ -256,7 +253,6 @@ void escapingInLikeSpelsInThePresenceOfEscapeCharacters() {
256
253
assertThat (userRepository .findContainingEscaped ("att\\ x" )).containsExactly (withEscapeCharacter );
257
254
}
258
255
259
- @ Disabled ("Can't get ESCAPE clause working with Hibernate" )
260
256
@ Test // DATAJPA-1522
261
257
void escapingInLikeSpelsInThePresenceOfEscapedWildcards () {
262
258
@@ -288,8 +284,7 @@ void executesQueryWithProjectionContainingReferenceToPluralAttribute() {
288
284
289
285
List <RolesAndFirstname > rolesAndFirstnameBy = userRepository .findRolesAndFirstnameBy ();
290
286
291
- assertThat (rolesAndFirstnameBy )
292
- .isNotNull ();
287
+ assertThat (rolesAndFirstnameBy ).isNotNull ();
293
288
294
289
for (RolesAndFirstname rolesAndFirstname : rolesAndFirstnameBy ) {
295
290
assertThat (rolesAndFirstname .getFirstname ()).isNotNull ();
0 commit comments