Skip to content

Commit fd227af

Browse files
committed
stop checking whether cache is empty since other tests can populate it
1 parent dda524d commit fd227af

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

models_test.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,4 @@ func TestDeleteAllRecords(t *testing.T) {
105105
// deleting
106106
err := dbClient.deleteAllRecords()
107107
expect(t, err, nil)
108-
109-
// checking whether all records were deleted
110-
keys, _ = dbClient.cache.getAllKeys()
111-
expect(t, len(keys), 0)
112108
}

0 commit comments

Comments
 (0)