Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
aliok committed Apr 27, 2021
1 parent 141194e commit 51b358c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/apis/eventing/v1/trigger_validation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func TestTriggerValidation(t *testing.T) {
ObjectMeta: v1.ObjectMeta{
Namespace: "test-ns-1",
Annotations: map[string]string{
DependencyAnnotation: `{"kind":"PingSource","namespace":"test-ns-2", "name":"test-ping-source","apiVersion":"sources.knative.dev/v1"}`,
DependencyAnnotation: `{"kind":"PingSource","namespace":"test-ns-2", "name":"test-ping-source","apiVersion":"sources.knative.dev/v1beta2"}`,
}},
Spec: TriggerSpec{
Broker: "test_broker",
Expand All @@ -132,7 +132,7 @@ func TestTriggerValidation(t *testing.T) {
ObjectMeta: v1.ObjectMeta{
Namespace: "test-ns",
Annotations: map[string]string{
DependencyAnnotation: `{"name":"test-ping-source","apiVersion":"sources.knative.dev/v1"}`,
DependencyAnnotation: `{"name":"test-ping-source","apiVersion":"sources.knative.dev/v1beta2"}`,
}},
Spec: TriggerSpec{
Broker: "test_broker",
Expand Down

0 comments on commit 51b358c

Please sign in to comment.