Skip to content

Commit

Permalink
test: fix broken test after security URL change
Browse files Browse the repository at this point in the history
  • Loading branch information
Avishagp committed Jul 14, 2022
1 parent 80eabae commit d280a1f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/smoke/spec/snyk_test_spec.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Describe "Snyk test command"
It "finds vulns in a project in the same folder"
When run run_test_in_subfolder
The status should equal 1
The output should include "https://security.snyk.io/vuln/npm:minimatch:20160620"
The output should include "https://snyk.io/vuln/npm:minimatch:20160620"
if should_have_deprecation_warnings; then
The stderr should not equal ""
else
Expand All @@ -69,7 +69,7 @@ Describe "Snyk test command"
It "finds vulns in a project when pointing to a folder"
When run snyk test ../fixtures/basic-npm
The status should be failure # issues found
The output should include "https://security.snyk.io/vuln/npm:minimatch:20160620"
The output should include "https://snyk.io/vuln/npm:minimatch:20160620"
if should_have_deprecation_warnings; then
The stderr should not equal ""
else
Expand All @@ -80,7 +80,7 @@ Describe "Snyk test command"
It "finds vulns in a project when pointing to a file"
When run snyk test --file=../fixtures/basic-npm/package.json
The status should be failure # issues found
The output should include "https://security.snyk.io/vuln/npm:minimatch:20160620"
The output should include "https://snyk.io/vuln/npm:minimatch:20160620"
if should_have_deprecation_warnings; then
The stderr should not equal ""
else
Expand Down

0 comments on commit d280a1f

Please sign in to comment.