Skip to content

Commit

Permalink
chore: refactor cross namespace test to make it reusable (#8157)
Browse files Browse the repository at this point in the history
* chore: refactor cross namespace test to make it reusable

Signed-off-by: Calum Murray <[email protected]>

* cleanup: use broker.WithEnvConfig

Signed-off-by: Calum Murray <[email protected]>

* fix(build): remove unnecessary import

Signed-off-by: Calum Murray <[email protected]>

---------

Signed-off-by: Calum Murray <[email protected]>
  • Loading branch information
Cali0707 authored Aug 22, 2024
1 parent da10b71 commit 24a43e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/rekt/features/trigger/crossnamespace.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func CrossNamespaceEventLinks(brokerEnvCtx context.Context) *feature.Feature {
trigger.WithBrokerRef(brokerRef),
}

f.Setup("install broker", broker.Install(brokerName, broker.WithNamespace(brokerNamespace)))
f.Setup("install broker", broker.Install(brokerName, append(broker.WithEnvConfig(), broker.WithNamespace(brokerNamespace))...))
f.Setup("install trigger", trigger.Install(triggerName, triggerCfg...))

f.Setup("install subscriber", eventshub.Install(subscriberName, eventshub.StartReceiver))
Expand Down

0 comments on commit 24a43e8

Please sign in to comment.