Skip to content

Commit 325e902

Browse files
committed
Fix incorrect unit test description
- description was incorrect: update is not allowed and that's what the test is verifying
1 parent 25efb43 commit 325e902

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/v1beta1/schemareplication_webhook_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ var _ = Describe("schema-replication webhook", func() {
9797
Expect(updated.ValidateUpdate(&replication)).To(Succeed())
9898
})
9999

100-
It("allows updates on rabbitmqClusterReference.connectionSecret", func() {
100+
It("does not allow updates on rabbitmqClusterReference.connectionSecret", func() {
101101
connectionScr := SchemaReplication{
102102
ObjectMeta: metav1.ObjectMeta{
103103
Name: "test-replication",

0 commit comments

Comments
 (0)