From e0f0eca5123585db1df8cbed34b3f710bf5f0617 Mon Sep 17 00:00:00 2001 From: Ryan Richard Date: Tue, 11 Aug 2020 17:33:06 -0700 Subject: [PATCH] Add another assertion to certs_manager_test.go --- internal/controller/apicerts/certs_manager_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/controller/apicerts/certs_manager_test.go b/internal/controller/apicerts/certs_manager_test.go index c4c68e13..00b6a70b 100644 --- a/internal/controller/apicerts/certs_manager_test.go +++ b/internal/controller/apicerts/certs_manager_test.go @@ -317,10 +317,11 @@ func TestManagerControllerSync(t *testing.T) { ) }) - it("returns the create error", func() { + it("returns the create error and does not update the APIService", func() { startInformersAndController() err := controller.TestSync(t, subject, *syncContext) r.EqualError(err, "could not create secret: create failed") + r.Empty(aggregatorAPIClient.Actions()) }) }) })