From d280a1f00986a7ba9fb1130fd7633eabcf8bd15e Mon Sep 17 00:00:00 2001 From: Avishagp Date: Thu, 14 Jul 2022 13:02:53 +0100 Subject: [PATCH] test: fix broken test after security URL change --- test/smoke/spec/snyk_test_spec.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/smoke/spec/snyk_test_spec.sh b/test/smoke/spec/snyk_test_spec.sh index a769c46e56..b9927ab90c 100644 --- a/test/smoke/spec/snyk_test_spec.sh +++ b/test/smoke/spec/snyk_test_spec.sh @@ -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 @@ -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 @@ -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