mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Fix a test that previously failed to create a security mark.
Also refactor an @BeforeClass into an @Test so that if it fails it doesn't kill all subsequent tests (in all subsequent classes).
This commit is contained in:
@@ -452,7 +452,10 @@ public abstract class BaseAPI
|
||||
{
|
||||
((HttpEntityEnclosingRequestBase) request).setEntity(new StringEntity(requestParams.toString()));
|
||||
}
|
||||
LOGGER.info("Sending {} request to {}", requestType.getSimpleName(), requestUrl);
|
||||
LOGGER.info("Request body: {}", requestParams);
|
||||
response = client.execute(adminUser, adminPassword, request);
|
||||
LOGGER.info("Response: {}", response.getStatusLine());
|
||||
|
||||
try
|
||||
{
|
||||
|
Reference in New Issue
Block a user