Commit ebf10ff7 authored by Romain Courteaud's avatar Romain Courteaud

[officejs_test] Update test

Redirect URL was modified at nexedi/erp5@e79dcdaf
parent b0defb16
...@@ -117,7 +117,7 @@ class TestOfficeJSScenario(SecurityTestCase): ...@@ -117,7 +117,7 @@ class TestOfficeJSScenario(SecurityTestCase):
page_content = response.read() page_content = response.read()
self.assertTrue( self.assertTrue(
'document.location.replace("development/")' in page_content, 'document.location.replace("development/" + document.location.hash)' in page_content,
page_content page_content
) )
self.assertTrue( self.assertTrue(
...@@ -231,7 +231,7 @@ class TestOfficeJSScenario(SecurityTestCase): ...@@ -231,7 +231,7 @@ class TestOfficeJSScenario(SecurityTestCase):
page_content = response.read() page_content = response.read()
self.assertTrue( self.assertTrue(
'document.location.replace("development/")' in page_content, 'document.location.replace("development/" + document.location.hash)' in page_content,
page_content page_content
) )
self.assertTrue( self.assertTrue(
......
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