More unit test fixes

This commit is contained in:
Oliver Walters 2022-12-12 23:27:22 +11:00
parent 576afd053d
commit fa346257f5

View File

@ -358,7 +358,7 @@ class PartCategoryAPITest(InvenTreeAPITestCase):
# Create parts in the child categories
for jj in range(3):
child_categories_parts.append(Part.objects.create(
name=f"Part xyz {jj}",
name=f"Part xyz {jj}_{ii}",
description="Child part in the child category of the deleted category",
category=child
))