Minor tweaks

This commit is contained in:
mmontes11
2024-08-20 12:20:56 +02:00
committed by Martin Montes
parent faf892e8bf
commit ba50999d9e
3 changed files with 3 additions and 3 deletions

View File

@ -722,6 +722,6 @@ func (c CleanupPolicy) Validate() error {
case CleanupPolicySkip, CleanupPolicyDelete:
return nil
default:
return fmt.Errorf("invalid CleanupPolicy: %v", c)
return fmt.Errorf("invalid cleanupPolicy: %v", c)
}
}

View File

@ -11,7 +11,7 @@ import (
)
var _ = Describe("Database webhook", func() {
Context("When creating a Grant", func() {
Context("When creating a Database", func() {
key := types.NamespacedName{
Name: "database-create-webhook",
Namespace: testNamespace,

View File

@ -549,7 +549,7 @@ var _ = Describe("User", func() {
Expect(k8sClient.Delete(testCtx, &user)).To(Succeed())
expectToNotExist(testCtx, k8sClient, &user)
By("Expecting credentials to be invalid")
By("Expecting credentials to be valid")
testConnection(userKey.Name, passwordSecretKeyRef, databaseKey.Name, true)
})
})