diff --git a/product/ERP5/tests/testERP5Category.py b/product/ERP5/tests/testERP5Category.py index 130cfd1d3711409cf13c39ca8c12f7e33b82822a..470d31c1e657d81181b19992b95acc41086e4a7f 100755 --- a/product/ERP5/tests/testERP5Category.py +++ b/product/ERP5/tests/testERP5Category.py @@ -185,10 +185,10 @@ class TestERP5Category(ERP5TypeTestCase): organisation2 = self.organisation2 organisation.setAbcValueList([telephone2]) self.assertEquals(organisation.getAbcValueList(),[telephone2]) - self.assertEquals(organisation.getAbcList(),['organisation/2/1']) + self.assertEquals(organisation.getAbcList(),[telephone2.getRelativeUrl()]) organisation2.edit(id='new_id') self.assertEquals(organisation.getAbcValueList(),[telephone2]) - self.assertEquals(organisation.getAbcList(),['organisation/new_id/1']) + self.assertEquals(organisation.getAbcList(),[telephone2.getRelativeUrl()]) def test_05(self, quiet=0, run=run_all_test): if not run: return