From dc1036988e4a0c6432dd3497034d5c6cac5c2915 Mon Sep 17 00:00:00 2001 From: Martin Gencur Date: Wed, 20 Sep 2023 10:22:51 +0200 Subject: [PATCH] Fix unit tests --- test/rekt/resources/delivery/delivery.yaml | 2 +- test/rekt/resources/pingsource/pingsource_test.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/rekt/resources/delivery/delivery.yaml b/test/rekt/resources/delivery/delivery.yaml index 5c284907e49..1da57349cb8 100644 --- a/test/rekt/resources/delivery/delivery.yaml +++ b/test/rekt/resources/delivery/delivery.yaml @@ -20,7 +20,7 @@ spec: {{ if .delivery.deadLetterSink.ref }} ref: kind: {{ .delivery.deadLetterSink.ref.kind }} - {{ if .delivery.deadLetterSink.ref.namespace } } + {{ if .delivery.deadLetterSink.ref.namespace }} namespace: {{ .delivery.deadLetterSink.ref.namespace }} {{ else }} namespace: {{ .namespace }} diff --git a/test/rekt/resources/pingsource/pingsource_test.go b/test/rekt/resources/pingsource/pingsource_test.go index eaf4db39b9e..fc4dd192397 100644 --- a/test/rekt/resources/pingsource/pingsource_test.go +++ b/test/rekt/resources/pingsource/pingsource_test.go @@ -93,7 +93,7 @@ func Example_full() { // sink: // ref: // kind: sinkkind - // namespace: bar + // namespace: sinknamespace // name: sinkname // apiVersion: sinkversion // uri: uri/parts @@ -139,7 +139,7 @@ func Example_fullbase64() { // sink: // ref: // kind: sinkkind - // namespace: bar + // namespace: sinknamespace // name: sinkname // apiVersion: sinkversion // uri: uri/parts