Skip to content

Commit

Permalink
Fixed failing unit tests
Browse files Browse the repository at this point in the history
Signed-off-by: anandf <[email protected]>
  • Loading branch information
anandf committed Oct 3, 2024
1 parent ecfd548 commit 6d3f2d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controller/appcontroller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ func newFakeController(data *fakeData, repoErr error) *ApplicationController {
Data: data.configMapData,
}
runtimeObjs := []runtime.Object{&clust, &secret, &cm}
runtimeObjs = append(runtimeObjs, data.additionalsObjs...)
runtimeObjs = append(runtimeObjs, data.additionalObjs...)
kubeClient := fake.NewSimpleClientset(runtimeObjs...)
settingsMgr := settings.NewSettingsManager(context.Background(), kubeClient, test.FakeArgoCDNamespace)
kubectl := &MockKubectl{Kubectl: &kubetest.MockKubectlCmd{}}
Expand Down

0 comments on commit 6d3f2d7

Please sign in to comment.