Skip to content

Commit

Permalink
Update germline tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Nithriel committed Nov 20, 2023
1 parent f9c5dc7 commit c3a4c2a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/routes/germlineSmallMutation/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ let testUser;
const mockData = require('../../testData/mockGermlineReportData.json');

const NON_AUTHORIZED_GROUP = 'NON AUTHORIZED GROUP';
const AUTHORIZED_GROUP = 'Non-Production Access';
const NON_PROD_ACCESS = 'Non-Production Access';
const UNREVIEWED_ACCESS = 'Unreviewed Access';

const CREATE_DATA = {
normalLibrary: 'test library',
Expand Down Expand Up @@ -376,7 +377,7 @@ describe('/germline-small-mutation-reports', () => {
const res = await request
.get(BASE_URI)
.query({
groups: [{name: AUTHORIZED_GROUP}],
groups: [{name: NON_PROD_ACCESS}, {name: UNREVIEWED_ACCESS}],
projects: [
{name: realProject.name, ident: realProject.ident},
],
Expand Down Expand Up @@ -417,7 +418,7 @@ describe('/germline-small-mutation-reports', () => {
const res = await request
.get(`${BASE_URI}/${nonProdReport.ident}`)
.query({
groups: [{name: AUTHORIZED_GROUP}],
groups: [{name: NON_PROD_ACCESS}, {name: UNREVIEWED_ACCESS}],
projects: [{name: realProject.name, ident: realProject.ident}],
})
.auth(username, password)
Expand Down

0 comments on commit c3a4c2a

Please sign in to comment.