Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: fix broken test after security URL change #3460

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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