Fix test

Reviewed-on: https://gitea.com/xorm/xorm/pulls/1526
This commit is contained in:
Lunny Xiao 2020-02-20 06:56:01 +00:00
parent a9e2ecbf44
commit aefe7fd6da
1 changed files with 4 additions and 0 deletions

View File

@ -162,6 +162,10 @@ func TestExistStructForJoin(t *testing.T) {
err = session.DropTable("order_list")
assert.NoError(t, err)
exist, err := session.IsTableExist("order_list")
assert.NoError(t, err)
assert.False(t, exist)
session.Table("number").
Select("player.id").
Join("INNER", "order_list", "order_list.id = number.lid").