Skip to content

Commit 0c096fc

Browse files
committed
1 parent e2ebf25 commit 0c096fc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/test/kotlin/com/github/mgramin/sqlboot/sql/select/wrappers/OrderedSelectQueryTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ import org.junit.jupiter.api.extension.ExtendWith
3030
import org.springframework.beans.factory.annotation.Autowired
3131
import org.springframework.test.context.ContextConfiguration
3232
import org.springframework.test.context.junit.jupiter.SpringExtension
33+
import reactor.core.publisher.Flux
3334
import javax.sql.DataSource
3435

3536
@ExtendWith(SpringExtension::class)
@@ -60,8 +61,7 @@ internal class OrderedSelectQueryTest {
6061
FakeSelectQuery(),
6162
mapOf("n" to "asc", "mail" to "desc")),
6263
this.dataSource!!)
63-
val execute: Sequence<Map<String, Any>> = selectQuery.execute(emptyMap()).collectList().block().asSequence()
64-
println("result = ${execute.toList()}")
64+
val execute: Flux<Map<String, Any>> = selectQuery.execute(emptyMap())
6565
}
6666

6767
}

0 commit comments

Comments
 (0)