From e01deb3ca839b897ebeb1d70c548352871afe975 Mon Sep 17 00:00:00 2001
From: Romain Courteaud <romain@nexedi.com>
Date: Mon, 15 Oct 2007 07:46:35 +0000
Subject: [PATCH] Compare location to relative rather than absolute URL.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16999 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../relation_field_zuite/testSimpleRelationFieldSaveButton.xml  | 2 +-
 bt5/erp5_ui_test/bt/revision                                    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testSimpleRelationFieldSaveButton.xml b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testSimpleRelationFieldSaveButton.xml
index e9b138ac07..f923d46f55 100644
--- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testSimpleRelationFieldSaveButton.xml
+++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testSimpleRelationFieldSaveButton.xml
@@ -134,7 +134,7 @@ button</td></tr>\n
 </tr>\n
 <tr>\n
   <td>assertLocation</td>\n
-  <td tal:content="python: \'%s/portal_categories/foo_category/a/a1/view\' % here.portal_url.getPortalObject().absolute_url()"/>\n
+  <td tal:content="python: \'/portal_categories/foo_category/a/a1/view\'"/>\n
   <td/>\n
 </tr>\n
 </tbody></table>\n
diff --git a/bt5/erp5_ui_test/bt/revision b/bt5/erp5_ui_test/bt/revision
index bcad85486c..0e4c1b3f90 100644
--- a/bt5/erp5_ui_test/bt/revision
+++ b/bt5/erp5_ui_test/bt/revision
@@ -1 +1 @@
-225
\ No newline at end of file
+226
\ No newline at end of file
-- 
2.30.9