File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
test/Ocelot.AcceptanceTests Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ public void should_return_response_200_when_using_http_two_point_zero()
141
141
}
142
142
143
143
[ Fact ]
144
- public void should_return_response_500_when_using_http_one_to_talk_to_server_running_http_two ( )
144
+ public void should_return_response_502_when_using_http_one_to_talk_to_server_running_http_two ( )
145
145
{
146
146
var port = RandomPortFinder . GetRandomPort ( ) ;
147
147
@@ -177,7 +177,7 @@ public void should_return_response_500_when_using_http_one_to_talk_to_server_run
177
177
. And ( x => _steps . GivenThereIsAConfiguration ( configuration ) )
178
178
. And ( x => _steps . GivenOcelotIsRunning ( ) )
179
179
. When ( x => _steps . WhenIGetUrlOnTheApiGateway ( "/" , httpContent ) )
180
- . Then ( x => _steps . ThenTheStatusCodeShouldBe ( HttpStatusCode . InternalServerError ) )
180
+ . Then ( x => _steps . ThenTheStatusCodeShouldBe ( HttpStatusCode . BadGateway ) )
181
181
. BDDfy ( ) ;
182
182
}
183
183
You can’t perform that action at this time.
0 commit comments