Skip to content

Commit

Permalink
test: update querystring parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik Arenhill authored and Erik A committed Feb 24, 2020
1 parent 797b990 commit 1c5c9f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/routes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ describe('Get all published apps [v1]', async () => {
it('should only return apps from the Stable channel supporting version 2.27', async () => {
const injectOptions = {
method: 'GET',
url: '/api/v1/apps?channel=Stable&dhis2Version=2.27',
url: '/api/v1/apps?channel=Stable&dhis_version=2.27',
}

const response = await server.inject(injectOptions)
Expand All @@ -109,7 +109,7 @@ describe('Get all published apps [v1]', async () => {
it('should only return apps supporting version 2.27', async () => {
const injectOptions = {
method: 'GET',
url: '/api/v1/apps?channel=All&dhis2Version=2.27',
url: '/api/v1/apps?channel=All&dhis_version=2.27',
}

const response = await server.inject(injectOptions)
Expand Down

0 comments on commit 1c5c9f2

Please sign in to comment.