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

Fixup test.

PaymentTransaction_getTotalPayablePrice returns negative value.
parent 13453383
......@@ -420,7 +420,7 @@ class TestSlapOSDefaultScenario(TestSlapOSSecurityMixin):
self.assertSameSet([payment.getRelativeUrl()],
invoice.getCausalityRelatedList(
portal_type=self.portal.getPortalDeliveryTypeList()))
self.assertEqual(payment.PaymentTransaction_getTotalPayablePrice(),
self.assertEqual(-1 * payment.PaymentTransaction_getTotalPayablePrice(),
invoice.getTotalPrice())
def assertOpenSaleOrderCoverage(self, person_reference):
......@@ -643,3 +643,4 @@ class TestSlapOSDefaultScenario(TestSlapOSSecurityMixin):
default_destination_section_uid=person.getUid()):
self.assertHostingSubscriptionSimulationCoverage(
subscription.getObject())
self.assertTrue(False)
102
\ No newline at end of file
103
\ 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