From a5069d5fe848acf3966abd4d29d7e3d7d9cb8d62 Mon Sep 17 00:00:00 2001 From: Josh Baker Date: Tue, 12 Jul 2016 23:03:52 -0600 Subject: [PATCH] fixed test --- controller/collection/collection_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) }