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