diff --git a/controller/collection/collection_test.go b/controller/collection/collection_test.go index 6eb1cbd5..3e73cd6a 100644 --- a/controller/collection/collection_test.go +++ b/controller/collection/collection_test.go @@ -38,7 +38,7 @@ func TestCollection(t *testing.T) { if count != len(objs) { t.Fatalf("count = %d, expect %d", count, len(objs)) } - count = c.Count(TypeAll) + count = c.Count() if count != len(objs) { t.Fatalf("c.Count() = %d, expect %d", count, len(objs)) }