Fix table name with schemas test

This commit is contained in:
Lunny Xiao 2021-07-07 17:13:50 +08:00
parent fe34b1a86c
commit 5891e4a7bf
1 changed files with 2 additions and 1 deletions

View File

@ -357,7 +357,8 @@ func TestGetMap(t *testing.T) {
assertSync(t, new(UserinfoMap))
_, err := testEngine.Exec("INSERT INTO userinfo_map (is_man) VALUES (NULL)")
tableName := testEngine.Quote(testEngine.TableName("userinfo_map", true))
_, err := testEngine.Exec(fmt.Sprintf("INSERT INTO %s (is_man) VALUES (NULL)", tableName))
assert.NoError(t, err)
var valuesString = make(map[string]string)