Commit 8b0422dd authored by Łukasz Nowak's avatar Łukasz Nowak

Simplify test code.

parent 1b69a7e6
......@@ -19,7 +19,7 @@ class TestVifibPayZen(TestVifibSlapWebServiceMixin):
# as there might be more because of running alarms
event = self.portal.portal_catalog(
portal_type='Payzen Event',
title='User navigation script for %s' % sequence['payment'].getTitle(),
default_destination_uid=sequence['payment'].getUid(),
limit=2)
self.assertEqual(1, len(event))
event = event[0]
......@@ -120,11 +120,10 @@ class TestVifibPayZen(TestVifibSlapWebServiceMixin):
sequence_string = self.register_new_user_sequence_string + '\
LoginWebUser \
CallStartPaymentOnPlannedPayment \
Tic \
CleanTic \
Logout \
LoginERP5TypeTestCase \
CheckPaymentPage \
Tic \
CheckRelatedSystemEvent \
'
sequence_list.addSequenceString(sequence_string)
......
452
\ No newline at end of file
453
\ No newline at end of file
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