File tree Expand file tree Collapse file tree
src/test/scala/dev/mongocamp/driver/mongodb/jdbc Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11package dev .mongocamp .driver .mongodb .jdbc
22
33import com .typesafe .scalalogging .LazyLogging
4+ import dev .mongocamp .driver .mongodb .GenericObservable
45import dev .mongocamp .driver .mongodb .test .TestDatabase
56import liquibase .database .jvm .JdbcConnection
67import liquibase .exception .LiquibaseException
78import liquibase .resource .ClassLoaderResourceAccessor
8- import liquibase .{ Contexts , LabelExpression , Liquibase }
9+ import liquibase .{Contexts , LabelExpression , Liquibase }
10+ import dev .mongocamp .driver .mongodb .json ._
911
12+ import scala .concurrent .Future
1013import scala .jdk .CollectionConverters ._
1114import scala .language .implicitConversions
1215
1316class LiquibaseJdbcSuite extends BaseJdbcSuite with LazyLogging {
1417
1518 override def beforeAll (): Unit = {
16- TestDatabase .provider.dropDatabase(" mongocamp-unit-test" )
19+ TestDatabase .provider.dropDatabase(" mongocamp-unit-test" ).results()
1720 super .beforeAll()
1821 }
1922
@@ -34,7 +37,7 @@ class LiquibaseJdbcSuite extends BaseJdbcSuite with LazyLogging {
3437 assert(false )
3538 }
3639 val unrunChangesetsAfter = liquibase.listUnrunChangeSets(contexts, new LabelExpression ())
37- assert(unrunChangesetsAfter.asScala.nonEmpty )
40+ assert(unrunChangesetsAfter.asScala.isEmpty )
3841 }
3942
4043}
You can’t perform that action at this time.
0 commit comments