Skip to content

Commit

Permalink
Fix E2E test
Browse files Browse the repository at this point in the history
  • Loading branch information
nesmabadr committed Nov 18, 2024
1 parent fa8b57e commit 6d89545
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/e2e/mandatory_module_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import (

var _ = Describe("Mandatory Module Installation and Deletion", Ordered, func() {
kyma := NewKymaWithSyncLabel("kyma-sample", ControlPlaneNamespace, v1beta2.DefaultChannel)
module := NewTemplateOperator(v1beta2.DefaultChannel)

InitEmptyKymaBeforeAll(kyma)
CleanupKymaAfterAll(kyma)
Expand All @@ -42,7 +43,7 @@ var _ = Describe("Mandatory Module Installation and Deletion", Ordered, func() {
By("And the Mandatory ModuleTemplate has the correct mandatory-module label", func() {
Eventually(ModuleTemplateHasExpectedLabel).
WithContext(ctx).
WithArguments(kcpClient, "template-operator", shared.IsMandatoryModule,
WithArguments(kcpClient, module, shared.IsMandatoryModule,
shared.EnableLabelValue, "regular", "kcp-system").
Should(Succeed())
})
Expand Down

0 comments on commit 6d89545

Please sign in to comment.