Skip to content

Commit

Permalink
fix fake arguments in suite_test
Browse files Browse the repository at this point in the history
  • Loading branch information
c-pius committed Jan 20, 2025
1 parent bf92f12 commit fdc0922
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/integration/controller/kcp/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ var _ = BeforeSuite(func() {
testSkrContextFactory = testskrcontext.NewDualClusterFactory(kcpClient.Scheme(), testEventRec)
descriptorProvider = provider.NewCachedDescriptorProvider()
crdCache = crd.NewCache(nil)
maintenanceWindowHandler, _ := maintenancewindows.InitializeMaintenanceWindow(logr, "policy", "/etc/maintenance-policy")
maintenanceWindowHandler, _ := maintenancewindows.InitializeMaintenanceWindow(logr, "/not-required", "not-required")
err = (&kyma.Reconciler{
Client: kcpClient,
SkrContextFactory: testSkrContextFactory,
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/controller/kyma/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ var _ = BeforeSuite(func() {
kcpClient = mgr.GetClient()
testEventRec := event.NewRecorderWrapper(mgr.GetEventRecorderFor(shared.OperatorName))
testSkrContextFactory := testskrcontext.NewSingleClusterFactory(kcpClient, mgr.GetConfig(), testEventRec)
maintenanceWindowHandler, _ := maintenancewindows.InitializeMaintenanceWindow(logr, "policy", "/etc/maintenance-policy")
maintenanceWindowHandler, _ := maintenancewindows.InitializeMaintenanceWindow(logr, "/not-required", "/not-required")
err = (&kyma.Reconciler{
Client: kcpClient,
Event: testEventRec,
Expand Down

0 comments on commit fdc0922

Please sign in to comment.