Skip to content

Commit

Permalink
fix: response code for /userDataStore has been restored to 201 (#1910)
Browse files Browse the repository at this point in the history
Backend restored the code to 201 from 200

Reverting this PR: #1896. (not an exact match, thus a new commit rather than a "revert" commit)
  • Loading branch information
jenniferarnesen authored Aug 23, 2021
1 parent ba58531 commit 00ea30f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { When, Then } from 'cypress-cucumber-preprocessor/steps'
import { clickViewActionButton } from '../../../elements/viewDashboard'
import { getApiBaseUrl } from '../../../support/server/utils'

const SHOW_DESC_RESP_CODE_SUCCESS = 200
const SHOW_DESC_RESP_CODE_SUCCESS = 201
const SHOW_DESC_RESP_CODE_FAIL = 409

before(() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ before(() => {
'content-type': 'application/json',
},
body: 'false',
}).then(response => expect(response.status).to.equal(200))
}).then(response => expect(response.status).to.equal(201))
})

When('clicking to show description fails', () => {
Expand Down

0 comments on commit 00ea30f

Please sign in to comment.