fix test code

This commit is contained in:
CyJaySong 2023-07-13 12:06:37 +08:00
parent 58fb3bbcdf
commit dc99e0ce42
1 changed files with 1 additions and 1 deletions

View File

@ -1218,7 +1218,7 @@ func TestInsertNotDeleted(t *testing.T) {
type InsertDeletedStruct struct {
ID uint64 `xorm:"'ID' pk autoincr"`
DeletedAt time.Time `xorm:"'DELETED_AT' deleted notnull"`
DeletedAt time.Time `xorm:"'DELETED_AT' deleted"`
}
assert.NoError(t, testEngine.Sync(new(InsertDeletedStruct)))