Test simplification
Unify usage of self.test_document and self.test_documents in tests. Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -22,7 +22,7 @@ class DocumentIndexingAPITestCase(IndexTestMixin, DocumentTestMixin, BaseAPITest
|
||||
return self.post(
|
||||
viewname='rest_api:index-list', data={
|
||||
'label': TEST_INDEX_LABEL, 'slug': TEST_INDEX_SLUG,
|
||||
'document_types': self.document_type.pk
|
||||
'document_types': self.test_document_type.pk
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user