Adapt tests to Kotlin 1.3 language pinning.
Closes
@@ -50,7 +50,7 @@ class ReactiveR2dbcQueryMethodCoroutineUnitTests {
val method = PersonRepository::class.java.getMethod("findAllById")
val queryMethod = R2dbcQueryMethod(method, DefaultRepositoryMetadata(PersonRepository::class.java), projectionFactory, R2dbcMappingContext())
- assertThat(queryMethod.isCollectionQuery).isTrue
+ assertThat(queryMethod.isCollectionQuery).isTrue()
}
@Test // gh-384
@@ -59,7 +59,7 @@ class ReactiveR2dbcQueryMethodCoroutineUnitTests {
val method = PersonRepository::class.java.getMethod("findSuspendAllById", Continuation::class.java)
val queryMethod = R2dbcQueryMethod(method, DefaultRepositoryMetadata(PersonRepository::class.java), projectionFactory, R2dbcMappingContext())
- assertThat(queryMethod.isCollectionQuery).isTrue
+ assertThat(queryMethod.isCollectionQuery).isTrue()
}
@Test // gh-395
@@ -68,6 +68,6 @@ class ReactiveR2dbcQueryMethodCoroutineUnitTests {
val method = PersonRepository::class.java.getMethod("findSuspendedAllById", Continuation::class.java)
val queryMethod = R2dbcQueryMethod(method, DefaultRepositoryMetadata(PersonRepository::class.java), projectionFactory, R2dbcMappingContext())
- assertThat(queryMethod.isCollectionQuery).isTrue
+ assertThat(queryMethod.isCollectionQuery).isTrue()
}
}
