diff --git a/mayan/apps/document_indexing/test_models.py b/mayan/apps/document_indexing/test_models.py index e5d82da41a..ee8f26851a 100644 --- a/mayan/apps/document_indexing/test_models.py +++ b/mayan/apps/document_indexing/test_models.py @@ -22,7 +22,7 @@ class IndexTestCase(TestCase): self.document = self.document_type.new_document(file_object=File(file_object)) def test_indexing(self): - metadata_type = MetadataType.objects.create(name='test', title='test') + metadata_type = MetadataType.objects.create(name='test', label='test') DocumentTypeMetadataType.objects.create(document_type=self.document_type, metadata_type=metadata_type) # Create empty index