Add another assertion to certs_manager_test.go
This commit is contained in:
parent
bfabcdcdd1
commit
e0f0eca512
@ -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())
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user