Fix tests for mssql

This commit is contained in:
Lunny Xiao 2021-04-12 16:15:23 +08:00
parent 45395ec100
commit c05ce62903
1 changed files with 5 additions and 0 deletions

View File

@ -73,6 +73,11 @@ func TestDelete(t *testing.T) {
func TestDeleteLimit(t *testing.T) {
assert.NoError(t, PrepareEngine())
if testEngine.Dialect().URI().DBType == schemas.MSSQL {
t.Skip()
return
}
type UserinfoDeleteLimit struct {
Uid int64 `xorm:"id pk not null autoincr"`
IsMan bool