We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a38395 commit 8e9b957Copy full SHA for 8e9b957
models/consistency.go
@@ -39,7 +39,7 @@ func CheckConsistencyFor(t *testing.T, beansToCheck ...interface{}) {
39
ptrToSliceValue := reflect.New(sliceType)
40
ptrToSliceValue.Elem().Set(sliceValue)
41
42
- assert.NoError(t, x.Where(bean).Find(ptrToSliceValue.Interface()))
+ assert.NoError(t, x.Table(bean).Find(ptrToSliceValue.Interface()))
43
sliceValue = ptrToSliceValue.Elem()
44
45
for i := 0; i < sliceValue.Len(); i++ {
0 commit comments