Commit afcb5f22 authored by Łukasz Nowak's avatar Łukasz Nowak

Set excpeted portal_status_message.

parent bc85e58b
...@@ -823,6 +823,9 @@ class TestERP5Credential(ERP5TypeTestCase): ...@@ -823,6 +823,9 @@ class TestERP5Credential(ERP5TypeTestCase):
sequence_list.addSequenceString(sequence_string) sequence_list.addSequenceString(sequence_string)
sequence_list.play(self) sequence_list.play(self)
def stepSetCredentialRequestCreatedMessage(self, sequence=None, **kw):
sequence['portal_status_message'] = 'Credential%20Request%20Created'
def test_04_automaticCredentialRequestApproval(self): def test_04_automaticCredentialRequestApproval(self):
''' '''
if the property preferred_credential_request_automatic_approval is True on if the property preferred_credential_request_automatic_approval is True on
...@@ -833,6 +836,7 @@ class TestERP5Credential(ERP5TypeTestCase): ...@@ -833,6 +836,7 @@ class TestERP5Credential(ERP5TypeTestCase):
''' '''
sequence_list = SequenceList() sequence_list = SequenceList()
sequence_string = 'SetCredentialRequestAutomaticApprovalPreferences '\ sequence_string = 'SetCredentialRequestAutomaticApprovalPreferences '\
'SetCredentialRequestCreatedMessage ' \
'CreateSimpleSubscriptionRequest Tic '\ 'CreateSimpleSubscriptionRequest Tic '\
'CheckAccountIsCreated '\ 'CheckAccountIsCreated '\
......
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