mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-21 18:09:20 +00:00
Re-enable I18N CMIS tests
- add support for encoding to Mock HTTP Request in Web Script Test Server - tests run in default encoding (UTF-8), and non-default encoding (ISO-8859-1) - also run AtomPub Client test suite (which has some I18N tests too) git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14233 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -348,7 +348,7 @@ public abstract class BaseWebScriptTest extends TestCase
|
||||
asUser = (asUser == null) ? defaultRunAs : asUser;
|
||||
if (asUser == null)
|
||||
{
|
||||
return BaseWebScriptTest.getServer().submitRequest(req.getMethod(), req.getFullUri(), req.getHeaders(), req.getBody(), req.getType());
|
||||
return BaseWebScriptTest.getServer().submitRequest(req.getMethod(), req.getFullUri(), req.getHeaders(), req.getBody(), req.getEncoding(), req.getType());
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -358,7 +358,7 @@ public abstract class BaseWebScriptTest extends TestCase
|
||||
@SuppressWarnings("synthetic-access")
|
||||
public Response doWork() throws Exception
|
||||
{
|
||||
return BaseWebScriptTest.getServer().submitRequest(req.getMethod(), req.getFullUri(), req.getHeaders(), req.getBody(), req.getType());
|
||||
return BaseWebScriptTest.getServer().submitRequest(req.getMethod(), req.getFullUri(), req.getHeaders(), req.getBody(), req.getEncoding(), req.getType());
|
||||
}
|
||||
}, asUser);
|
||||
}
|
||||
|
Reference in New Issue
Block a user