File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/jpadsl/src/test/kotlin/io/github/petitcl/springdata/commondsl Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -206,13 +206,13 @@ open class JPASpecificationDSLIntTest {
206
206
207
207
@Test
208
208
fun `Get tv show by isMember` () {
209
- val shows = tvShowRepo.findAll(TvShow ::starRatings.isMember (theWalkingDead.starRatings.first()))
209
+ val shows = tvShowRepo.findAll(TvShow ::starRatings.hasMember (theWalkingDead.starRatings.first()))
210
210
assertThat(shows, containsInAnyOrder(theWalkingDead))
211
211
}
212
212
213
213
@Test
214
214
fun `Get tv show by isNotMember` () {
215
- val shows = tvShowRepo.findAll(TvShow ::starRatings.isNotMember (betterCallSaul.starRatings.first()))
215
+ val shows = tvShowRepo.findAll(TvShow ::starRatings.hasNoMember (betterCallSaul.starRatings.first()))
216
216
assertThat(shows, containsInAnyOrder(theWalkingDead, hemlockGrove))
217
217
}
218
218
You can’t perform that action at this time.
0 commit comments