Skip to content

Commit de1c94f

Browse files
committed
fix 2 tests where they have broken 404 urls
Signed-off-by: Mohit Nagaraj <mohitnagaraj20@gmail.com>
1 parent 231d70b commit de1c94f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

generators/github/package_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ func TestGenerateCompFromGitHub(t *testing.T) {
4141
{ // Source pointing to a directly downloadable file (not a repo per se)
4242
ghPackageManager: GitHubPackageManager{
4343
PackageName: "k8s-config-connector",
44-
SourceURL: "https://raw.githubusercontent.com/GoogleCloudPlatform/k8s-config-connector/master/crds/alloydb_v1beta1_alloydbbackup.yaml/1.113.0",
44+
SourceURL: "https://raw.githubusercontent.com/GoogleCloudPlatform/k8s-config-connector/master/crds/alloydb_v1beta1_alloydbbackup.yaml",
4545
},
4646
want: 1,
4747
},
@@ -56,7 +56,7 @@ func TestGenerateCompFromGitHub(t *testing.T) {
5656
{ // Source pointing to a zip containing manifests but no CRDs
5757
ghPackageManager: GitHubPackageManager{
5858
PackageName: "acm-controller",
59-
SourceURL: "https://github.com/MUzairS15/WASM-filters/raw/main/test.tar.gz/v0.7.12",
59+
SourceURL: "https://github.com/MUzairS15/WASM-filters/raw/main/test.tar.gz",
6060
},
6161
want: 0,
6262
},

0 commit comments

Comments
 (0)