From 7aad158d53c0ab9b45866afb8b3211409a1beaa3 Mon Sep 17 00:00:00 2001 From: Dustin Born Date: Mon, 23 Sep 2024 19:01:33 +0200 Subject: [PATCH] Update test cases for WordPress 6.6.2 --- tests/test_eol_date.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_eol_date.py b/tests/test_eol_date.py index b19c07b..14dda5a 100755 --- a/tests/test_eol_date.py +++ b/tests/test_eol_date.py @@ -14,14 +14,14 @@ def test_search_wp_general(self): self.maxDiff = None query = 'cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*' result = search_vulns.search_vulns(query=query, add_other_exploit_refs=False, is_good_cpe=True) - expected_result = {'status': 'N/A', 'latest': '6.6.1', 'ref': 'https://endoflife.date/wordpress'} + expected_result = {'status': 'N/A', 'latest': '6.6.2', 'ref': 'https://endoflife.date/wordpress'} self.assertEqual(result[query]['version_status'], expected_result) def test_search_wp_572(self): self.maxDiff = None query = 'cpe:2.3:a:wordpress:wordpress:5.7.2:*:*:*:*:*:*:*' result = search_vulns.search_vulns(query=query, add_other_exploit_refs=False, is_good_cpe=True) - expected_result = {'status': 'eol', 'latest': '6.6.1', 'ref': 'https://endoflife.date/wordpress'} + expected_result = {'status': 'eol', 'latest': '6.6.2', 'ref': 'https://endoflife.date/wordpress'} self.assertEqual(result[query]['version_status'], expected_result) def test_search_jquery_general(self):