Skip to content

Commit

Permalink
Update 04-uri-validation.bats
Browse files Browse the repository at this point in the history
  • Loading branch information
aslafy-z authored Jul 7, 2024
1 parent df2a370 commit 87bc3c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/04-uri-validation.bats
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ load 'test-helper'
@test "should fail and warning with bad path and no ref" {
_run_helm_git "git+https://github.com/jetstack/cert-manager@contrib/charts/cert-manager/index.yaml?ref="
[ $status = 1 ]
[ -n "$(echo $output | grep "git_ref is empty")" ]
[ -n "$(echo $output | grep "git_ref was not given")" ]
}

@test "should success and warning with no ref" {
_run_helm_git "git+https://github.com/jetstack/cert-manager@deploy/charts/index.yaml"
[ $status = 0 ]
[ -n "$(echo $output | grep "git_ref is empty")" ]
[ -n "$(echo $output | grep "git_ref was not given")" ]
}

@test "should success with username" {
Expand Down

0 comments on commit 87bc3c0

Please sign in to comment.