bump embedded-mysql for windows support

This commit is contained in:
nazoking
2017-01-13 01:55:24 +09:00
parent e021868a96
commit 4c4327b569
2 changed files with 3 additions and 2 deletions

View File

@@ -53,7 +53,7 @@ libraryDependencies ++= Seq(
"javax.servlet" % "javax.servlet-api" % "3.1.0" % "provided",
"junit" % "junit" % "4.12" % "test",
"org.scalatra" %% "scalatra-scalatest" % ScalatraVersion % "test",
"com.wix" % "wix-embedded-mysql" % "1.0.3" % "test",
"com.wix" % "wix-embedded-mysql" % "2.1.4" % "test",
"ru.yandex.qatools.embed" % "postgresql-embedded" % "1.14" % "test"
)

View File

@@ -33,6 +33,7 @@ class GitBucketCoreModuleSpec extends FunSuite {
.withPort(3306)
.withUser("sa", "sa")
.withCharset(Charset.UTF8)
.withServerVariable("log_syslog", 0)
.build()
val mysqld = anEmbeddedMysql(config)
@@ -41,7 +42,7 @@ class GitBucketCoreModuleSpec extends FunSuite {
try {
new Solidbase().migrate(
DriverManager.getConnection("jdbc:mysql://localhost:3306/gitbucket", "sa", "sa"),
DriverManager.getConnection("jdbc:mysql://localhost:3306/gitbucket?useSSL=false", "sa", "sa"),
Thread.currentThread().getContextClassLoader(),
new MySQLDatabase(),
new Module(GitBucketCoreModule.getModuleId, GitBucketCoreModule.getVersions)