mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
ALF-10132: FSTR is not working, due to fault in TransferService
- Initial tidying and fixing-up during investigation git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30491 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -88,8 +88,7 @@ public class HttpClientTransmitterImplTest extends TestCase
|
||||
transmitter.setHttpMethodFactory(mockedHttpMethodFactory);
|
||||
|
||||
this.mockedNodeService = mock(NodeService.class);
|
||||
when(mockedNodeService.hasAspect(any(NodeRef.class),
|
||||
eq(TransferModel.ASPECT_FILE_TRANSFER_TARGET))).thenReturn(false);
|
||||
when(mockedNodeService.getType(any(NodeRef.class))).thenReturn(TransferModel.TYPE_TRANSFER_TARGET);
|
||||
transmitter.setNodeService(mockedNodeService);
|
||||
|
||||
this.target = new TransferTargetImpl();
|
||||
|
Reference in New Issue
Block a user