Skip to content

Commit

Permalink
Merge pull request #1216 from dherault/fix-http-cors-integration-tests
Browse files Browse the repository at this point in the history
test: Fix http cors integration test URL paths
  • Loading branch information
frozenbonito committed Apr 26, 2021
2 parents 2d40bc4 + 0d940fe commit cfc5726
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration/httpApi-cors/httpApi-cors.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ describe('HttpApi Cors Tests', () => {
afterAll(() => teardown())

test('Fetch OPTIONS with valid origin', async () => {
const url = joinUrl(TEST_BASE_URL, '/dev/user')
const url = joinUrl(TEST_BASE_URL, '/user')
const options = {
method: 'OPTIONS',
headers: {
Expand Down Expand Up @@ -51,7 +51,7 @@ describe('HttpApi Cors Tests', () => {
})

test('Fetch OPTIONS with invalid origin', async () => {
const url = joinUrl(TEST_BASE_URL, '/dev/user')
const url = joinUrl(TEST_BASE_URL, '/user')
const options = {
method: 'OPTIONS',
headers: {
Expand Down

0 comments on commit cfc5726

Please sign in to comment.