mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-02-14 18:10:17 +00:00
Add another assertion to certs_manager_test.go
This commit is contained in:
@@ -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())
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user