From ba6aa5800f9838e7799c512b17afca5f66e91272 Mon Sep 17 00:00:00 2001 From: Denys Vuika Date: Tue, 7 Jun 2016 17:04:51 +0100 Subject: [PATCH] Remove tests for deprecated api --- .../src/components/document-list.spec.ts | 16 ---------------- 1 file changed, 16 deletions(-) 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();