Skip to content

Commit

Permalink
maybe this will work, who knows
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
  • Loading branch information
crenshaw-dev committed Sep 25, 2023
1 parent af44455 commit df246bf
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
3 changes: 2 additions & 1 deletion test/e2e/applicationset_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2269,6 +2269,8 @@ func TestGitGeneratorPrivateRepoGoTemplate(t *testing.T) {
}

func TestIgnoreApplicationDifferences(t *testing.T) {
fixture.LoginAs("admin")

expectedApp := argov1alpha1.Application{
TypeMeta: metav1.TypeMeta{
Kind: application.ApplicationKind,
Expand Down Expand Up @@ -2337,7 +2339,6 @@ func TestIgnoreApplicationDifferences(t *testing.T) {
},
}).Then().Expect(ApplicationsExist([]argov1alpha1.Application{expectedApp})).
When().
LoginAs("admin").
AppSet("simple-list-generator", "--sync-policy", "none").
And(func() { expectedApp.Spec.SyncPolicy = nil }).
Then().Expect(ApplicationsExist([]argov1alpha1.Application{expectedApp})).
Expand Down
5 changes: 0 additions & 5 deletions test/e2e/fixture/applicationsets/actions.go
Original file line number Diff line number Diff line change
Expand Up @@ -509,8 +509,3 @@ func (a *Actions) runCli(args ...string) {
a.lastOutput, a.lastError = fixture.RunCli(args...)
a.verifyAction()
}

func (a *Actions) LoginAs(account string) *Actions {
fixture.LoginAs(account)
return a
}
1 change: 0 additions & 1 deletion test/e2e/fixture/applicationsets/utils/fixture.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import (
"k8s.io/client-go/tools/clientcmd"

"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1"

appclientset "github.com/argoproj/argo-cd/v2/pkg/client/clientset/versioned"
)

Expand Down

0 comments on commit df246bf

Please sign in to comment.