Skip to content

Commit 8e9b957

Browse files
committed
fix Consistency
1 parent 5a38395 commit 8e9b957

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/consistency.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ func CheckConsistencyFor(t *testing.T, beansToCheck ...interface{}) {
3939
ptrToSliceValue := reflect.New(sliceType)
4040
ptrToSliceValue.Elem().Set(sliceValue)
4141

42-
assert.NoError(t, x.Where(bean).Find(ptrToSliceValue.Interface()))
42+
assert.NoError(t, x.Table(bean).Find(ptrToSliceValue.Interface()))
4343
sliceValue = ptrToSliceValue.Elem()
4444

4545
for i := 0; i < sliceValue.Len(); i++ {

0 commit comments

Comments
 (0)