From c4cde4d07553e04e8e6c66cea6471554929897d3 Mon Sep 17 00:00:00 2001 From: Owen Date: Wed, 3 Jul 2024 08:24:04 +0100 Subject: [PATCH] Update v2/test/report_test.go --- v2/test/report_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v2/test/report_test.go b/v2/test/report_test.go index 7ddcf24..5a1b13b 100644 --- a/v2/test/report_test.go +++ b/v2/test/report_test.go @@ -20,7 +20,7 @@ func Test_new_report_with_empty_run(t *testing.T) { given.a_new_report(). with_a_run_with_empty_result_added("tfsec", "https://tfsec.dev") - then.report_text_is(`{"version":"2.1.0","$schema":"https://raw.githubusercontent.com/oasis-tcs/sarif-spec/master/Schemata/sarif-schema-2.1.0.json","runs":[{"tool":{"driver":{"informationUri":"https://tfsec.dev","name":"tfsec","rules":[]}},"results":[]}]}`) + then.report_text_is(`{"version":"2.1.0","$schema":"https://raw.githubusercontent.com/oasis-tcs/sarif-spec/main/sarif-2.1/schema/sarif-schema-2.1.0.json","runs":[{"tool":{"driver":{"informationUri":"https://tfsec.dev","name":"tfsec","rules":[]}},"results":[]}]}`) } func Test_new_simple_report_with_artifact(t *testing.T) {