20029: Actually remove unneeded test this time
[arvados-workbench2.git] / src / services / collection-service / collection-service.test.ts
index 544d6d0604c12183e41a0a32d052c0093227d9cc..304cbfd3110d056fa57f12cd0c455b1d53ffee6c 100644 (file)
@@ -173,29 +173,6 @@ describe('collection-service', () => {
             );
         });
 
-        it('should remove files with uuid prefix', async () => {
-            // given
-            serverApi.put = jest.fn(() => Promise.resolve({ data: {} }));
-            const filePaths: string[] = ['/root/1'];
-            const collectionUUID = 'zzzzz-tpzed-5o5tg0l9a57gxxx';
-
-            // when
-            await collectionService.deleteFiles(collectionUUID, filePaths);
-
-            // then
-            expect(serverApi.put).toHaveBeenCalledTimes(1);
-            expect(serverApi.put).toHaveBeenCalledWith(
-                `/collections/${collectionUUID}`, {
-                    collection: {
-                        preserve_version: true
-                    },
-                    replace_files: {
-                        '/root/1': '',
-                    },
-                }
-            );
-        });
-
         it('should batch remove files', async () => {
             serverApi.put = jest.fn(() => Promise.resolve({ data: {} }));
             // given