@@ -99,16 +99,16 @@ describe('ALB handler payload tests', function desc() {
9999
100100 {
101101 description :
102- 'when handler returns bad answer in promise should return 204 ' ,
102+ 'when handler returns bad answer in promise should return 200 ' ,
103103 path : '/dev/bad-answer-in-promise-handler' ,
104- status : 204 ,
104+ status : 200 ,
105105 } ,
106106
107107 {
108108 description :
109- 'when handler returns bad answer in callback should return 204 ' ,
109+ 'when handler returns bad answer in callback should return 200 ' ,
110110 path : '/dev/bad-answer-in-callback-handler' ,
111- status : 204 ,
111+ status : 200 ,
112112 } ,
113113
114114 {
@@ -121,7 +121,7 @@ describe('ALB handler payload tests', function desc() {
121121 {
122122 description : 'test path with wildcards' ,
123123 path : '/dev/foo/test-resource-variable-handler/1' ,
124- status : 204 ,
124+ status : 200 ,
125125 } ,
126126
127127 {
@@ -268,16 +268,16 @@ describe('ALB handler payload tests with prepend off', function desc() {
268268
269269 {
270270 description :
271- 'when handler returns bad answer in promise should return 204 ' ,
271+ 'when handler returns bad answer in promise should return 200 ' ,
272272 path : '/bad-answer-in-promise-handler' ,
273- status : 204 ,
273+ status : 200 ,
274274 } ,
275275
276276 {
277277 description :
278- 'when handler returns bad answer in callback should return 204 ' ,
278+ 'when handler returns bad answer in callback should return 200 ' ,
279279 path : '/bad-answer-in-callback-handler' ,
280- status : 204 ,
280+ status : 200 ,
281281 } ,
282282
283283 {
@@ -290,7 +290,7 @@ describe('ALB handler payload tests with prepend off', function desc() {
290290 {
291291 description : 'test path with wildcards' ,
292292 path : '/foo/test-resource-variable-handler/1' ,
293- status : 204 ,
293+ status : 200 ,
294294 } ,
295295
296296 {
0 commit comments