From bba76359012657f60228c525cc2c5ef3ac98695f Mon Sep 17 00:00:00 2001 From: Allan Jacquet-Cretides Date: Mon, 7 Oct 2024 12:57:12 +0200 Subject: [PATCH] Fix test allowing agnostic alias --- internal/app/sources/helm/versions/repo_backend_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/app/sources/helm/versions/repo_backend_test.go b/internal/app/sources/helm/versions/repo_backend_test.go index a2b0eaf..dd89046 100644 --- a/internal/app/sources/helm/versions/repo_backend_test.go +++ b/internal/app/sources/helm/versions/repo_backend_test.go @@ -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{}, @@ -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,