[arvados-workbench2] updated: 2.5.0-84-g43567d1d

git repository hosting git at public.arvados.org
Fri Mar 17 14:30:38 UTC 2023


Summary of changes:
 .../collection-service/collection-service.test.ts  | 23 ----------------------
 1 file changed, 23 deletions(-)

       via  43567d1d96d5a86d81f6c30e411bad1deaafdda6 (commit)
      from  e87e36f5cfcdc4162b794231879e977314815b25 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 43567d1d96d5a86d81f6c30e411bad1deaafdda6
Author: Stephen Smith <stephen at curii.com>
Date:   Fri Mar 17 10:30:25 2023 -0400

    20029: Actually remove unneeded test this time
    
    Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen at curii.com>

diff --git a/src/services/collection-service/collection-service.test.ts b/src/services/collection-service/collection-service.test.ts
index 544d6d06..304cbfd3 100644
--- a/src/services/collection-service/collection-service.test.ts
+++ b/src/services/collection-service/collection-service.test.ts
@@ -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

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list