Skip to content

Commit abf5bc0

Browse files
committed
fix: add descriptions to products in mitigation filter tests
1 parent 1c51535 commit abf5bc0

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

unittests/test_filter_finding_mitigation.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ def setUpTestData(cls):
5151
prod_type = Product_Type.objects.create(name="Test Type")
5252
product = Product.objects.create(
5353
name="Test Product",
54+
description="Test Product",
5455
prod_type=prod_type,
5556
)
5657
cls.finding_with_mitigation = _make_finding("Finding A", "apply patch", product, cls.reporter)
@@ -174,6 +175,7 @@ def setUpTestData(cls):
174175
prod_type = Product_Type.objects.create(name="UI Test Type")
175176
product = Product.objects.create(
176177
name="UI Test Product",
178+
description="UI Test Product",
177179
prod_type=prod_type,
178180
)
179181
cls.finding_with_mitigation = _make_finding("UI Finding A", "upgrade to v2", product, cls.reporter)

0 commit comments

Comments
 (0)