2
0
mirror of https://github.com/inventree/InvenTree.git synced 2026-03-16 09:01:30 +00:00

Fix for migration test

This commit is contained in:
Oliver Walters
2025-12-02 06:48:37 +00:00
parent c34e8c3643
commit f2e7ae9030

View File

@@ -431,7 +431,7 @@ class TestManufacturerPartParameterMigration(MigratorTestCase):
# There should be 3 Parameter objects linked to the ManufacturerPart
params = Parameter.objects.filter(
content_type=content_type, object_id=manu_part.pk
model_type=content_type, model_id=manu_part.pk
)
self.assertEqual(params.count(), 3)