Skip to content

Commit

Permalink
fixed more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
benkuly committed Nov 11, 2020
1 parent 2e98638 commit 9f3406f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/Versions.kt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
object Versions {
const val kotlin = "1.4.10" // https://kotlinlang.org/
const val kotlinxCoroutines = "1.4.1" // https://github.com/Kotlin/kotlinx.coroutines/releases
const val kotlinxCoroutines = "1.3.9" // https://github.com/Kotlin/kotlinx.coroutines/releases
const val kotlinRetry = "1.0.6" // https://github.com/michaelbull/kotlin-retry
const val kotest = "4.3.1" // https://github.com/kotest/kotest/releases
const val springBoot = "2.3.4.RELEASE" // https://spring.io/projects/spring-boot
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ interface MatrixSmsMappingRepository : CoroutineCrudRepository<MatrixSmsMapping,
ORDER BY map.mapping_token DESC
"""
)
fun findByUserIdSortByMappingTokenDesc(userId: UserId): Flow<MatrixSmsMapping> //FIXME
fun findByUserIdSortByMappingTokenDesc(userId: UserId): Flow<MatrixSmsMapping>

@Query(
"""
Expand All @@ -26,7 +26,7 @@ interface MatrixSmsMappingRepository : CoroutineCrudRepository<MatrixSmsMapping,
WHERE map.mapping_token = :mappingToken AND mem.user_id = :userId
"""
)
fun findByUserIdAndMappingToken(userId: UserId, mappingToken: Int): MatrixSmsMapping?
suspend fun findByUserIdAndMappingToken(userId: UserId, mappingToken: Int): MatrixSmsMapping?

suspend fun findByMembershipId(membershipId: String): MatrixSmsMapping?
}

0 comments on commit 9f3406f

Please sign in to comment.