From 99ee38903e272bf5c8968119a8fc1eadc1531349 Mon Sep 17 00:00:00 2001 From: Friedrich Wilken Date: Tue, 19 Dec 2023 10:25:12 +0100 Subject: [PATCH] s --- internal/controller/nats/controller_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/controller/nats/controller_test.go b/internal/controller/nats/controller_test.go index 38481a12..f554ffd4 100644 --- a/internal/controller/nats/controller_test.go +++ b/internal/controller/nats/controller_test.go @@ -211,7 +211,7 @@ func Test_handleNATSCRAllowedCheck(t *testing.T) { Status: metav1.ConditionFalse, LastTransitionTime: metav1.Now(), Reason: string(natsv1alpha1.ConditionReasonForbidden), - Message: fmt.Sprintf(CreationNotAllowedMsg, givenAllowedNATS.Name, givenAllowedNATS.Namespace), + Message: fmt.Sprintf(fmt.Sprintf("Warning Forbidden %s", CreationNotAllowedMsg), givenAllowedNATS.Name, givenAllowedNATS.Namespace), }, } require.True(t, natsv1alpha1.ConditionsEquals(wantConditions, gotNATS.Status.Conditions))