From 3352054916aade31afd86192115363017dc6e382 Mon Sep 17 00:00:00 2001 From: Alfonso Graziano Date: Mon, 18 Dec 2023 20:07:24 +0100 Subject: [PATCH] fix: changing status from 204 to 200 --- test/requestContextPlugin.spec.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/requestContextPlugin.spec.js b/test/requestContextPlugin.spec.js index c190e3a..85d5514 100644 --- a/test/requestContextPlugin.spec.js +++ b/test/requestContextPlugin.spec.js @@ -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, }) }) @@ -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, }) }) @@ -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, }) })