Fix broken test

Signed-off-by: Andrew Keesler <akeesler@vmware.com>
This commit is contained in:
aram price 2020-12-10 11:29:13 -08:00
parent d8212d1337
commit ccac124b7a

View File

@ -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")
},