[ARVADOS-WORKBENCH2] updated: 2.1.0-127-g2d401fdb

Git user git at public.arvados.org
Tue Dec 8 21:16:37 UTC 2020


Summary of changes:
 src/components/file-tree/file-thumbnail.test.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

       via  2d401fdbf50b0e980548ee8098116b595a475bef (commit)
      from  a1abf5536a6d65f6ede59748cfbb9afceb249a83 (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 2d401fdbf50b0e980548ee8098116b595a475bef
Author: Daniel Kutyła <daniel.kutyla at contractors.roche.com>
Date:   Tue Dec 8 22:15:47 2020 +0100

    16812: Tests improvements
    
    Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła <daniel.kutyla at contractors.roche.com>

diff --git a/src/components/file-tree/file-thumbnail.test.tsx b/src/components/file-tree/file-thumbnail.test.tsx
index c5dd56d0..e0d5d255 100644
--- a/src/components/file-tree/file-thumbnail.test.tsx
+++ b/src/components/file-tree/file-thumbnail.test.tsx
@@ -21,13 +21,13 @@ describe("<FileThumbnail />", () => {
         file = {
             name: 'test-image',
             type: CollectionFileType.FILE,
-            url: 'http://test.com/c=test-hash/t=test-token/test-token2/test-token3/test-image.jpg',
+            url: 'http://example.com/c=zzzzz-4zz18-0123456789abcde/t=v2/zzzzz-gj3su-0123456789abcde/xxxxxxtokenxxxxx/test-image.jpg',
             size: 300
         };
     });
 
     it("renders file thumbnail with proper src", () => {
         const fileThumbnail = shallow(<FileThumbnail file={file} />);
-        expect(fileThumbnail.html()).toBe('<img class="Component-thumbnail-1" alt="test-image" src="http://test.com/c=test-hash/test-image.jpg?api_token=test-token/test-token2/test-token3"/>');
+        expect(fileThumbnail.html()).toBe('<img class="Component-thumbnail-1" alt="test-image" src="http://example.com/c=zzzzz-4zz18-0123456789abcde/test-image.jpg?api_token=v2/zzzzz-gj3su-0123456789abcde/xxxxxxtokenxxxxx"/>');
     });
 });

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list