Commit 83487a3b authored by Arnaud Fontaine's avatar Arnaud Fontaine

zope4: HTTPRequest.setServerURL() port argument is now a `int` and not a string...

parent a09911c7
......@@ -1546,7 +1546,7 @@ class TestCMFActivity(ERP5TypeTestCase, LogInterceptor):
# on REQUEST information when the method was activated.
request = self.portal.REQUEST
request.setServerURL('http', 'test.erp5.org', '9080')
request.setServerURL('http', 'test.erp5.org', 9080)
request.other['PARENTS'] = [self.portal.organisation_module]
request.setVirtualRoot('virtual_root')
......@@ -1565,7 +1565,7 @@ class TestCMFActivity(ERP5TypeTestCase, LogInterceptor):
# Reset server URL and virtual root before executing messages.
# This simulates the case of activities beeing executed with different
# REQUEST, such as TimerServer.
request.setServerURL('https', 'anotherhost.erp5.org', '443')
request.setServerURL('https', 'anotherhost.erp5.org', 443)
request.other['PARENTS'] = [self.app]
request.setVirtualRoot('')
# obviously, the object url is different
......
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