File tree Expand file tree Collapse file tree 2 files changed +2
-10
lines changed
src/test/scala/com/github/takezoe/slick/blocking Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -37,14 +37,6 @@ scalacOptions ++= {
3737 }
3838}
3939
40- Test / scalacOptions ++= {
41- if (scalaBinaryVersion.value == " 3" ) {
42- Seq (" -source:3.0-migration" )
43- } else {
44- Nil
45- }
46- }
47-
4840Test / fork := true
4941
5042Test / publishArtifact := false
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ class SlickBlockingAPISpecH2
1717 extends SlickBlockingAPISpec (
1818 BlockingH2Driver
1919 ) {
20- protected override val db = Tables .profile.blockingApi.Database .forURL(" jdbc:h2:mem:test;TRACE_LEVEL_FILE=4" )
20+ protected override lazy val db = Tables .profile.blockingApi.Database .forURL(" jdbc:h2:mem:test;TRACE_LEVEL_FILE=4" )
2121}
2222
2323class SlickBlockingAPISpecMySQL56 extends SlickBlockingAPISpecMySQL (" 5.6" )
@@ -50,7 +50,7 @@ abstract class SlickBlockingAPISpec(p: BlockingJdbcProfile) extends AnyFunSuite
5050 import Tables .profile .blockingApi ._
5151 import Tables ._
5252
53- protected val db : Tables .profile.api.Database
53+ protected def db : Tables .profile.api.Database
5454
5555 private final def testWithSession [A ](f : Tables .profile.blockingApi.Session => A ): A = {
5656 db.withSession { implicit session =>
You can’t perform that action at this time.
0 commit comments