Merge branch 'versions/micro' of gitlab.com:mayan-edms/mayan-edms into versions/micro

This commit is contained in:
Roberto Rosario
2019-09-24 23:29:25 -04:00
3 changed files with 3 additions and 3 deletions

View File

@@ -2,7 +2,7 @@ from __future__ import unicode_literals
from django.contrib.contenttypes.models import ContentType
from mayan.apps.document_states.tests.test_actions import ActionTestCase
from mayan.apps.document_states.tests.test_workflow_actions import ActionTestCase
from mayan.apps.documents.permissions import permission_document_view
from ..workflow_actions import (

View File

@@ -2,7 +2,7 @@ from __future__ import unicode_literals
from mayan.apps.common.tests import GenericViewTestCase
from mayan.apps.document_states.tests.mixins import WorkflowTestMixin
from mayan.apps.document_states.tests.test_actions import ActionTestCase
from mayan.apps.document_states.tests.test_workflow_actions import ActionTestCase
from ..models import Cabinet
from ..workflow_actions import CabinetAddAction, CabinetRemoveAction

View File

@@ -14,7 +14,7 @@ from ..models import DocumentPageOCRContent
class OCREventsTestCase(GenericDocumentTestCase):
def test_document_content_deleted_event(self):
Action.objects.all().delete()
DocumentPageOCRContent.objects.delete_ocr_content_for(
DocumentPageOCRContent.objects.delete_content_for(
document=self.test_document
)