diff --git a/ng2-components/ng2-alfresco-documentlist/src/components/document-list.spec.ts b/ng2-components/ng2-alfresco-documentlist/src/components/document-list.spec.ts index d5d32b9a38..a7d626f58e 100644 --- a/ng2-components/ng2-alfresco-documentlist/src/components/document-list.spec.ts +++ b/ng2-components/ng2-alfresco-documentlist/src/components/document-list.spec.ts @@ -114,22 +114,6 @@ describe('DocumentList', () => { expect(list.getContentUrl(node)).toBeNull(); }); - it('should get thumbnail url', () => { - let url = 'URL'; - spyOn(alfrescoServiceMock, 'getDocumentThumbnailUrl').and.returnValue(url); - - let result = documentList.getDocumentThumbnailUrl(null); - - expect(result).toBe(url); - expect(alfrescoServiceMock.getDocumentThumbnailUrl).toHaveBeenCalled(); - }); - - it('should get no thumbnail url without service', () => { - let list = new DocumentList(null); - let node = new MinimalNodeEntity(); - expect(list.getDocumentThumbnailUrl(node)).toBeNull(); - }); - it('should execute action with node', () => { let node = new MinimalNodeEntity(); let action = new ContentActionModel();