Skip to content

Commit

Permalink
more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
narfdre committed Jul 1, 2024
1 parent 45eed26 commit 2bf3f9a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/fast/Unit tests/nvm_download
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ sleep 1 # wait for httpbin to start
NVM_AUTH_HEADER="Bearer test-token"
nvm_download "http://127.0.0.1/bearer" > /dev/null || die "nvm_download unable to send auth header"
unset NVM_AUTH_HEADER

# nvm_download should fail when calling without auth header
nvm_download "http://127.0.0.1/bearer" > /dev/null && die "nvm_download dies with no auth header"
docker stop httpbin && docker rm httpbin

cleanup

0 comments on commit 2bf3f9a

Please sign in to comment.