File tree Expand file tree Collapse file tree
src/test/kotlin/com/github/mgramin/sqlboot/sql/select/wrappers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ import org.junit.jupiter.api.extension.ExtendWith
3030import org.springframework.beans.factory.annotation.Autowired
3131import org.springframework.test.context.ContextConfiguration
3232import org.springframework.test.context.junit.jupiter.SpringExtension
33+ import reactor.core.publisher.Flux
3334import 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}
You can’t perform that action at this time.
0 commit comments