mirror of
https://github.com/inventree/InvenTree.git
synced 2026-04-02 17:41:13 +00:00
Fix for migration test
This commit is contained in:
@@ -431,7 +431,7 @@ class TestManufacturerPartParameterMigration(MigratorTestCase):
|
|||||||
|
|
||||||
# There should be 3 Parameter objects linked to the ManufacturerPart
|
# There should be 3 Parameter objects linked to the ManufacturerPart
|
||||||
params = Parameter.objects.filter(
|
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)
|
self.assertEqual(params.count(), 3)
|
||||||
|
|||||||
Reference in New Issue
Block a user