Skip to content

Commit

Permalink
test(fix): remove status 204 (#177)
Browse files Browse the repository at this point in the history
  • Loading branch information
alfonsograziano authored Dec 18, 2023
1 parent 3925901 commit 54d5390
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/requestContextPlugin.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ describe('requestContextPlugin', () => {
function prepareReply() {
return testService.processRequest(requestId).then(() => {
const storedValue = req.requestContext.get('testKey')
reply.status(204).send({
reply.status(200).send({
storedValue,
})
})
Expand Down Expand Up @@ -101,7 +101,7 @@ describe('requestContextPlugin', () => {
function prepareReply() {
return testService.processRequest(requestId).then(() => {
const storedValue = req.requestContext.get('testKey')
reply.status(204).send({
reply.status(200).send({
storedValue,
})
})
Expand Down Expand Up @@ -178,7 +178,7 @@ describe('requestContextPlugin', () => {
function prepareReply() {
return testService.processRequest(requestId.replace('testValue', '')).then(() => {
const storedValue = req.requestContext.get('testKey')
reply.status(204).send({
reply.status(200).send({
storedValue,
})
})
Expand Down

0 comments on commit 54d5390

Please sign in to comment.