mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Google Doc Integration: Fix system unit test failures
* Fixed spreadsheet download * Refactored use of DocService to improve reliability * Reuse security tokens * Consolidate code as a result of above changes git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30832 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -216,16 +216,7 @@ public class GoogleDocumentServiceSystemTest extends TestCase implements GoogleD
|
||||
|
||||
private boolean isGoogleServiceAvailable()
|
||||
{
|
||||
boolean result = true;
|
||||
try
|
||||
{
|
||||
googleDocsService.initialise();
|
||||
}
|
||||
catch (GoogleDocsServiceInitException e)
|
||||
{
|
||||
result = false;
|
||||
}
|
||||
return result;
|
||||
return googleDocsService.isEnabled();
|
||||
}
|
||||
|
||||
public void testGoogleDocUploadDownload() throws Exception
|
||||
|
Reference in New Issue
Block a user