Skip to content

Commit 8ead511

Browse files
committed
update acceptance tests
1 parent f922f0c commit 8ead511

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/Ocelot.AcceptanceTests/HttpTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public void should_return_response_200_when_using_http_two_point_zero()
141141
}
142142

143143
[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()
145145
{
146146
var port = RandomPortFinder.GetRandomPort();
147147

@@ -177,7 +177,7 @@ public void should_return_response_500_when_using_http_one_to_talk_to_server_run
177177
.And(x => _steps.GivenThereIsAConfiguration(configuration))
178178
.And(x => _steps.GivenOcelotIsRunning())
179179
.When(x => _steps.WhenIGetUrlOnTheApiGateway("/", httpContent))
180-
.Then(x => _steps.ThenTheStatusCodeShouldBe(HttpStatusCode.InternalServerError))
180+
.Then(x => _steps.ThenTheStatusCodeShouldBe(HttpStatusCode.BadGateway))
181181
.BDDfy();
182182
}
183183

0 commit comments

Comments
 (0)