Add another assertion to certs_manager_test.go

This commit is contained in:
Ryan Richard 2020-08-11 17:33:06 -07:00
parent bfabcdcdd1
commit e0f0eca512
1 changed files with 2 additions and 1 deletions

View File

@ -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() startInformersAndController()
err := controller.TestSync(t, subject, *syncContext) err := controller.TestSync(t, subject, *syncContext)
r.EqualError(err, "could not create secret: create failed") r.EqualError(err, "could not create secret: create failed")
r.Empty(aggregatorAPIClient.Actions())
}) })
}) })
}) })