Fix broken test
Signed-off-by: Andrew Keesler <akeesler@vmware.com>
This commit is contained in:
parent
d8212d1337
commit
ccac124b7a
@ -226,6 +226,9 @@ func TestController(t *testing.T) {
|
||||
},
|
||||
{
|
||||
name: "when generating the secret fails, we return an error",
|
||||
storedSecret: func(secret **corev1.Secret) {
|
||||
*secret = nil
|
||||
},
|
||||
generateKey: func() ([]byte, error) {
|
||||
return nil, errors.New("some generate error")
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user