Skip to content

Commit

Permalink
make tests compile
Browse files Browse the repository at this point in the history
  • Loading branch information
davidpeklak committed May 7, 2015
1 parent 9498748 commit 361f0c5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 49 deletions.
8 changes: 4 additions & 4 deletions src/test/scala/smt/DbHandlingTest.scala
Expand Up @@ -36,7 +36,7 @@ class DbHandlingTest extends FunSuite with PropTesting {

val mig = migGen.apply(Gen.Params()).get // bochn

val action = addHandling.applyMigrations(ms = Seq(mig), arb = false, runTests = true)
val action = addHandling.applyMigrations(ms = Seq(mig), imo = None, arb = false, runTests = true)

action.run.run(new ConnectionMock).run
}
Expand All @@ -45,7 +45,7 @@ class DbHandlingTest extends FunSuite with PropTesting {

val mig = migGen.apply(Gen.Params()).get // bochn

val action = addHandling.applyMigrations(ms = Seq.fill(10000)(mig), arb = false, runTests = true)
val action = addHandling.applyMigrations(ms = Seq.fill(10000)(mig), imo = None, arb = false, runTests = true)

val conn = new ConnectionMock

Expand Down Expand Up @@ -88,7 +88,7 @@ class DbHandlingTest extends FunSuite with PropTesting {

val mig = migGen.map(_.copy(tests = Seq(test))).apply(Gen.Params()).get // bochn

val action = addHandling.applyMigrations(ms = Seq(mig), arb = false, runTests = true)
val action = addHandling.applyMigrations(ms = Seq(mig), imo = None, arb = false, runTests = true)

val conn= new ScriptRecordingConnectionMock

Expand All @@ -105,7 +105,7 @@ class DbHandlingTest extends FunSuite with PropTesting {

val mig = migGen.map(_.copy(tests = Seq(test))).apply(Gen.Params()).get // bochn

val action = addHandling.applyMigrations(ms = Seq(mig), arb = false, runTests = false)
val action = addHandling.applyMigrations(ms = Seq(mig), imo = None, arb = false, runTests = false)

val conn = new ScriptRecordingConnectionMock

Expand Down
2 changes: 1 addition & 1 deletion src/test/scala/smt/HandlingTest.scala
Expand Up @@ -45,7 +45,7 @@ class HandlingTest extends FunSuite {

val logger = new LoggerMock

val action = handling.applyMigrationsAndReport(ms = Seq(mig), arb = false, runTests = true)
val action = handling.applyMigrationsAndReport(ms = Seq(mig), imo = None, arb = false, runTests = true)

action.run(HandlingDep(new DatabaseMock(new ConnectionMock), List(reporter), logger, "fooUser", None)).run

Expand Down
44 changes: 0 additions & 44 deletions src/test/scala/smt/MigrationHandlingTest.scala

This file was deleted.

0 comments on commit 361f0c5

Please sign in to comment.