Skip to content

Commit

Permalink
Fix test allowing agnostic alias
Browse files Browse the repository at this point in the history
Signed-off-by: Allan Jacquet-Cretides <[email protected]>
  • Loading branch information
Jumanjii committed Oct 7, 2024
1 parent 8cfca88 commit 80b6e0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/app/sources/helm/versions/repo_backend_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func TestBuildRepoBackend(t *testing.T) {
},
{
name: "With Repo Alias targeting a S3 bucket",
repoAliases: map[string]string{"@alias": "s3://my-bucket/charts"},
repoAliases: map[string]string{"alias": "s3://my-bucket/charts"},
repoURL: "alias",
chartName: "my-chart",
expectedType: &S3HelmRepoBackend{},
Expand All @@ -94,7 +94,7 @@ func TestBuildRepoBackend(t *testing.T) {
{
name: "With Repo Alias targeting a Git repo",
repoAliases: map[string]string{"@alias": "https://github.com/user/repo.git"},
repoURL: "alias",
repoURL: "@alias",
chartName: "my-chart",
expectedType: nil,
expectError: false,
Expand Down

0 comments on commit 80b6e0e

Please sign in to comment.