aboutsummaryrefslogtreecommitdiffstats
path: root/certServiceK8sExternalProvider/src/cmpv2controller
diff options
context:
space:
mode:
authorTomasz Wrobel <tomasz.wrobel@nokia.com>2021-07-21 15:37:56 +0200
committerTomasz Wrobel <tomasz.wrobel@nokia.com>2021-07-21 16:52:46 +0200
commitb151ffacf655f2e14f99c6850c53bee562c24e9e (patch)
tree59e7b861d67883ed09f4e76280543d46ca988e8e /certServiceK8sExternalProvider/src/cmpv2controller
parent57d9b2c0a7956306e54234233b8330628ac9f960 (diff)
[OOM-K8S-CERT-EXTERNAL-PROVIDER] Add handling request when updateEnpoint is missing
Issue-ID: OOM-2753 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: I06fc3043787631b83cc776b1e446700bd13f9863
Diffstat (limited to 'certServiceK8sExternalProvider/src/cmpv2controller')
-rw-r--r--certServiceK8sExternalProvider/src/cmpv2controller/util/certificate_update_util_test.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/certServiceK8sExternalProvider/src/cmpv2controller/util/certificate_update_util_test.go b/certServiceK8sExternalProvider/src/cmpv2controller/util/certificate_update_util_test.go
index f9005277..a48cb60f 100644
--- a/certServiceK8sExternalProvider/src/cmpv2controller/util/certificate_update_util_test.go
+++ b/certServiceK8sExternalProvider/src/cmpv2controller/util/certificate_update_util_test.go
@@ -35,8 +35,8 @@ import (
)
const (
- testPrivateKeyData = "test-private-key"
- testCertificateData = "test-certificate"
+ testPrivateKeyData = "test-private-key"
+ testCertificateData = "test-certificate"
)
func Test_CheckIfCertificateUpdateAndRetrieveOldCertificateAndPk_revisionOne(t *testing.T) {
@@ -128,4 +128,3 @@ func Test_RetrieveOldCertificateAndPk_shouldBeEmptyWhenOldCertificateCannotBeUnm
assert.Equal(t, []byte{}, certificate)
assert.Equal(t, []byte{}, privateKey)
}
-