Skip to content

Commit

Permalink
Fix test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
takezoe committed Aug 14, 2022
1 parent b9e1114 commit 23a03ac
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ class SqlTemplateSpec extends FunSuite {

test("set parameters"){
val a = Article(0, System.currentTimeMillis, "takezoe", "Database access in Scala")
Class.forName("org.h2.Driver")
DB.autoClose(DriverManager.getConnection("jdbc:h2:mem:test;TRACE_LEVEL_FILE=4")) { db =>
db.update(sql"""CREATE TABLE articles (
id serial PRIMARY KEY,
Expand Down

0 comments on commit 23a03ac

Please sign in to comment.