remove unnecessary tests
This commit is contained in:
parent
ecda83fa14
commit
913cd6f4df
|
@ -943,20 +943,6 @@ func TestInsertWhere(t *testing.T) {
|
||||||
assert.EqualValues(t, 5, j5.Index)
|
assert.EqualValues(t, 5, j5.Index)
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestInsertSelectPositionalParameter(t *testing.T) {
|
|
||||||
assert.NoError(t, prepareEngine())
|
|
||||||
|
|
||||||
type InsertSelect struct {
|
|
||||||
Id int64
|
|
||||||
Name string
|
|
||||||
}
|
|
||||||
|
|
||||||
assertSync(t, new(InsertSelect))
|
|
||||||
|
|
||||||
_, err := testEngine.Exec("INSERT INTO insert_select (name) SELECT ?", "xlw")
|
|
||||||
assert.NoError(t, err)
|
|
||||||
}
|
|
||||||
|
|
||||||
type NightlyRate struct {
|
type NightlyRate struct {
|
||||||
ID int64 `xorm:"'id' not null pk BIGINT(20)" json:"id"`
|
ID int64 `xorm:"'id' not null pk BIGINT(20)" json:"id"`
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue