missing execute on prepareStatement

This commit is contained in:
2025-04-01 22:51:37 +02:00
parent b71997f723
commit d55260a286

View File

@@ -41,11 +41,14 @@ suspend fun testApplicationWithConfig(block: suspend ApplicationTestBuilder.(koi
} }
fun DataSource.cleanEventSource() { fun DataSource.cleanEventSource() {
this.connection.prepareStatement( this.connection
.prepareStatement(
""" """
truncate event_stream; truncate event_stream;
""".trimIndent(), """.trimIndent(),
) ).use {
it.execute()
}
} }
fun UnifiedJedis.cleanProjections() { fun UnifiedJedis.cleanProjections() {