[ARVADOS-WORKBENCH2] updated: 2.1.0-31-gf2213cfc
Git user
git at public.arvados.org
Wed Oct 21 14:15:25 UTC 2020
Summary of changes:
src/views-components/context-menu/actions/helpers.test.ts | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
via f2213cfc05842af977d780879092ca77a95f12be (commit)
from 6e42e3135224290169be9905b9358a45749b7b51 (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 f2213cfc05842af977d780879092ca77a95f12be
Author: Daniel Kutyła <daniel.kutyla at contractors.roche.com>
Date: Wed Oct 21 16:15:00 2020 +0200
17019: replaced domain and cluster with fake data
Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła <daniel.kutyla at contractors.roche.com>
diff --git a/src/views-components/context-menu/actions/helpers.test.ts b/src/views-components/context-menu/actions/helpers.test.ts
index 23e5187a..4234a8cc 100644
--- a/src/views-components/context-menu/actions/helpers.test.ts
+++ b/src/views-components/context-menu/actions/helpers.test.ts
@@ -6,7 +6,7 @@ import { sanitizeToken, getClipboardUrl } from "./helpers";
describe('helpers', () => {
// given
- const url = 'https://collections.ardev.roche.com/c=ardev-4zz18-k0hamvtwyit6q56/t=v2/a/b/LIMS/1.html';
+ const url = 'https://example.com/c=zzzzz/t=v2/a/b/LIMS/1.html';
describe('sanitizeToken', () => {
it('should sanitize token from the url', () => {
@@ -14,7 +14,7 @@ describe('helpers', () => {
const result = sanitizeToken(url);
// then
- expect(result).toBe('https://collections.ardev.roche.com/c=ardev-4zz18-k0hamvtwyit6q56/LIMS/1.html?api_token=v2/a/b');
+ expect(result).toBe('https://example.com/c=zzzzz/LIMS/1.html?api_token=v2/a/b');
});
});
@@ -24,7 +24,7 @@ describe('helpers', () => {
const result = getClipboardUrl(url);
// then
- expect(result).toBe('http://localhost?redirectTo=https://collections.ardev.roche.com/c=ardev-4zz18-k0hamvtwyit6q56/LIMS/1.html');
+ expect(result).toBe('http://localhost?redirectTo=https://example.com/c=zzzzz/LIMS/1.html');
});
});
});
\ No newline at end of file
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list