Skip to content

Commit

Permalink
date support test minor adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
tminglei committed Aug 5, 2014
1 parent 7b42202 commit 0c8dc78
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import org.junit.Assert._
import java.sql.{Timestamp, Time, Date}
import java.util.Calendar
import java.text.SimpleDateFormat
import scala.slick.jdbc.StaticQuery
import scala.util.Try

class PgDateSupportTest {
Expand Down Expand Up @@ -54,6 +55,7 @@ class PgDateSupportTest {
@Test
def testDatetimeFunctions(): Unit = {
db withSession { implicit session: Session =>
(StaticQuery.u + "SET TIMEZONE TO '+8';").execute
Datetimes forceInsertAll (testRec1, testRec2, testRec3)

// basic test
Expand Down

0 comments on commit 0c8dc78

Please sign in to comment.