Skip to content

Commit 93895d1

Browse files
committed
fix test
1 parent 304317f commit 93895d1

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

percona/controller/pgcluster/controller_test.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1625,12 +1625,14 @@ var _ = Describe("Validate TLS", Ordered, func() {
16251625

16261626
var _ = Describe("CR Validations", Ordered, func() {
16271627
ctx := context.Background()
1628-
ns := "cr-validation"
1628+
const crName = "cr-validation"
1629+
const ns = crName
16291630
t := true
16301631
f := false
16311632
namespace := &corev1.Namespace{
16321633
ObjectMeta: metav1.ObjectMeta{
1633-
Name: ns,
1634+
Name: crName,
1635+
Namespace: ns,
16341636
},
16351637
}
16361638

0 commit comments

Comments
 (0)