15771: Fixed failing unit tests 15771-deleting-a-selection-of-files-fails
authorDaniel Kutyła <daniel.kutyla@contractors.roche.com>
Tue, 12 Jan 2021 10:28:42 +0000 (11:28 +0100)
committerDaniel Kutyła <daniel.kutyla@contractors.roche.com>
Tue, 12 Jan 2021 10:28:42 +0000 (11:28 +0100)
Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła <daniel.kutyla@contractors.roche.com>

src/services/collection-service/collection-service.test.ts

index 19ac7490542d29be3dc72cb5ae3577396f0bae3f..fb18add104840f61635382237e3c80ba34c2f0d2 100644 (file)
@@ -23,6 +23,7 @@ describe('collection-service', () => {
         authService = {} as AuthService;
         actions = {} as ApiActions;
         collectionService = new CollectionService(serverApi, webdavClient, authService, actions);
+        collectionService.update = jest.fn();
     });
 
     describe('deleteFiles', () => {