diff --git a/dje/tests/testfiles/test_dataset_pp_only.json b/dje/tests/testfiles/test_dataset_pp_only.json index 3c88ae44..9bcdb664 100644 --- a/dje/tests/testfiles/test_dataset_pp_only.json +++ b/dje/tests/testfiles/test_dataset_pp_only.json @@ -26,12 +26,12 @@ "vcs_url": "", "code_view_url": "", "bug_tracking_url": "", + "md5": "", + "sha1": "", "sha256": "", "sha512": "", "filename": "systemu-2.5.2.gem", "download_url": "https://s3.amazonaws.com/production.s3.rubygems.org/gems/systemu-2.5.2.gem", - "sha1": "", - "md5": "", "size": null, "release_date": null, "primary_language": "", @@ -98,7 +98,8 @@ "nexB", "addd9c5d-a5ec-48ec-a565-ddb81092f49d" ], - "contact": "" + "contact": "", + "vulnerabilities_risk_threshold": null } }, { diff --git a/product_portfolio/tests/test_views.py b/product_portfolio/tests/test_views.py index 7d136da2..c7de8019 100644 --- a/product_portfolio/tests/test_views.py +++ b/product_portfolio/tests/test_views.py @@ -353,7 +353,7 @@ def test_product_portfolio_tab_vulnerability_view_queries(self): make_vulnerability_analysis(product_package2, vulnerability2) url = product1.get_url("tab_vulnerabilities") - with self.assertNumQueries(9): + with self.assertNumQueries(10): self.client.get(url) def test_product_portfolio_tab_vulnerability_view_analysis_rendering(self):