Commit 920e44a4 authored by Arnaud Fontaine's avatar Arnaud Fontaine Committed by Romain Courteaud

SQUASH Fix Unit Tests

parent 333e9dfa
...@@ -38,7 +38,7 @@ from Products.CMFCore.utils import _getAuthenticatedUser ...@@ -38,7 +38,7 @@ from Products.CMFCore.utils import _getAuthenticatedUser
from DocumentTemplate.DT_Util import TemplateDict from DocumentTemplate.DT_Util import TemplateDict
from DateTime import DateTime from DateTime import DateTime
from Products.ERP5Type.Cache import CachingMethod from Products.ERP5Type.Cache import CachingMethod
from Products.ERP5Type.Utils import convertToMixedCase from Products.ERP5Type.Utils import convertToMixedCase, convertToUpperCase
import sys import sys
from Acquisition import aq_base from Acquisition import aq_base
from copy import deepcopy from copy import deepcopy
...@@ -970,7 +970,7 @@ def convertToERP5Workflow(self, temp_object=False): ...@@ -970,7 +970,7 @@ def convertToERP5Workflow(self, temp_object=False):
# give temp workflow an uid for form_dialog. # give temp workflow an uid for form_dialog.
workflow.uid = uid workflow.uid = uid
workflow.default_reference = self.id workflow.default_reference = self.id
workflow.setTitle(self.title) workflow.setTitle(convertToUpperCase(self.title))
workflow.setDescription(self.description) workflow.setDescription(self.description)
if not temp_object: if not temp_object:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment