Skip to content

Commit 8978755

Browse files
committed
Test updates
1 parent fa4267b commit 8978755

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

elisa/src/client/RunDetails/components/PlotButtonBar.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ describe('PlotButtonBar', () => {
2222
expect(buttons[0]).toHaveProperty('target', '_blank');
2323
expect(buttons[0]).toHaveProperty(
2424
'href',
25-
'http://localhost/assay/assayResults.view?rowId=1&Data.Run%2FRowId~eq=1'
25+
'http://localhost/assay-assayResults.view?rowId=1&Data.Run%2FRowId~eq=1'
2626
);
2727
});
2828
});

elisa/src/client/RunDetails/utils.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ describe('utils', () => {
106106
});
107107

108108
test('getResultsViewURL', () => {
109-
const baseHref = '/assay/assayResults.view?rowId=1&Data.Run%2FRowId~eq=2';
109+
const baseHref = '/assay-assayResults.view?rowId=1&Data.Run%2FRowId~eq=2';
110110

111111
let plotOptions = {plateName: undefined, spot: undefined, showAllSamples: true, samples: ['a'], showAllControls: true, controls: ['b']} as PlotOptions;
112112
expect(getResultsViewURL(1, 2, plotOptions)).toBe(baseHref);

0 commit comments

Comments
 (0)