fix test config
This commit is contained in:
parent
899887b243
commit
35a48bd776
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue