Fix test
This commit is contained in:
parent
fb10e21772
commit
3b7a24be9a
|
@ -1250,6 +1250,6 @@ func TestFindInMaxID(t *testing.T) {
|
|||
assertSync(t, new(TestFindInMaxId))
|
||||
|
||||
var res []TestFindInMaxId
|
||||
err := testEngine.In("id", builder.Select("max ( id ) ").From("test_find_in_max_id")).Find(&res)
|
||||
err := testEngine.In("id", builder.Select("max(id)").From("test_find_in_max_id")).Find(&res)
|
||||
assert.NoError(t, err)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue