Commit 7339f5a6 authored by Jérome Perrin's avatar Jérome Perrin

update "Test if acquired_portal_type works correctly." failing test.

destination_administration no longer acquire on causality, but acquires on
order, so use order for now (but this order acquisition is probably wrong as
well...)


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20491 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5d67f416
......@@ -784,10 +784,10 @@ class TestCMFCategory(ERP5TypeTestCase):
self.assertEquals(order.getDestinationAdministrationPersonTitle(), 'toto')
packing_list.setDestinationAdministrationValue(None)
packing_list.setCausalityValue(None)
packing_list.setOrderValue(None)
self.assertEquals(packing_list.getDestinationAdministrationPersonTitle(), None)
packing_list.setCausalityValue(order)
packing_list.setOrderValue(order)
self.assertEquals(packing_list.getDestinationAdministrationPersonTitle(), 'toto')
def test_22_UserFriendlyException(self, quiet=quiet, run=run_all_test):
......
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