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 committed Jul 9, 2024
1 parent 566db15 commit 5a3043b
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 5a3043b

Please sign in to comment.