From 35a48bd7767c0db80f834ffd9b5010954d3491f7 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Fri, 21 Jun 2013 12:39:01 +0800 Subject: [PATCH] fix test config --- mysql_test.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/mysql_test.go b/mysql_test.go index 8f54c8ce..88a6af29 100644 --- a/mysql_test.go +++ b/mysql_test.go @@ -7,9 +7,14 @@ import ( var me Engine +/* +CREATE DATABASE IF NOT EXISTS orm_test CHARACTER SET +utf8 COLLATE utf8_general_ci; +*/ + func TestMysql(t *testing.T) { // You should drop all tables before executing this testing - me = Create("mysql", "root:123@/test?charset=utf8") + me = Create("mysql", "root:@/xorm_test?charset=utf8") me.ShowSQL = true directCreateTable(&me, t)