Update tests
authorMichal Klobukowski <michal.klobukowski@contractors.roche.com>
Tue, 14 Aug 2018 12:18:33 +0000 (14:18 +0200)
committerMichal Klobukowski <michal.klobukowski@contractors.roche.com>
Tue, 14 Aug 2018 12:18:33 +0000 (14:18 +0200)
Feature #13990

Arvados-DCO-1.1-Signed-off-by: Michal Klobukowski <michal.klobukowski@contractors.roche.com>

src/services/collection-files-service/collection-manifest-mapper.test.ts

index f08ea7bd1dc6a30e5a51895848efedf211492f9a..698a6bb7f4ba6f55a46a8a5a5d6e986eaff92747 100644 (file)
@@ -14,25 +14,29 @@ test('mapManifestToFiles', () => {
         id: '/a',
         name: 'a',
         size: 0,
-        type: 'file'
+        type: 'file',
+        url: ''
     }, {
         path: '',
         id: '/b',
         name: 'b',
         size: 0,
-        type: 'file'
+        type: 'file',
+        url: ''
     }, {
         path: '',
         id: '/output.txt',
         name: 'output.txt',
         size: 33,
-        type: 'file'
+        type: 'file',
+        url: ''
     }, {
         path: '/c',
         id: '/c/d',
         name: 'd',
         size: 0,
-        type: 'file'
+        type: 'file',
+        url: ''
     },]);
 });
 
@@ -44,17 +48,20 @@ test('mapManifestToDirectories', () => {
         path: "",
         id: '/c',
         name: 'c',
-        type: 'directory'
+        type: 'directory',
+        url: ''
     }, {
         path: '/c',
         id: '/c/user',
         name: 'user',
-        type: 'directory'
+        type: 'directory',
+        url: ''
     }, {
         path: '/c/user',
         id: '/c/user/results',
         name: 'results',
-        type: 'directory'
+        type: 'directory',
+        url: ''
     },]);
 });