diff --git a/product/ERP5/tests/testERP5Credential.py b/product/ERP5/tests/testERP5Credential.py index 157b927f65e24cadb0c6e1af87ca288991ec9c82..898054aad69ae57abf8b9cc13c92b1f0b07870c9 100644 --- a/product/ERP5/tests/testERP5Credential.py +++ b/product/ERP5/tests/testERP5Credential.py @@ -823,6 +823,9 @@ class TestERP5Credential(ERP5TypeTestCase): sequence_list.addSequenceString(sequence_string) sequence_list.play(self) + def stepSetCredentialRequestCreatedMessage(self, sequence=None, **kw): + sequence['portal_status_message'] = 'Credential%20Request%20Created' + def test_04_automaticCredentialRequestApproval(self): ''' if the property preferred_credential_request_automatic_approval is True on @@ -833,6 +836,7 @@ class TestERP5Credential(ERP5TypeTestCase): ''' sequence_list = SequenceList() sequence_string = 'SetCredentialRequestAutomaticApprovalPreferences '\ + 'SetCredentialRequestCreatedMessage ' \ 'CreateSimpleSubscriptionRequest Tic '\ 'CheckAccountIsCreated '\