mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-09-18 15:22:41 +08:00
+semver: upgrade to net5.0 (#1390)
* breaking upgrade base build image to net5.0 * add make and build tools to image * fix code broken after net5.0 upgrade * fix warnings * fix tests and line endings * upgrade dotnet test and coverages packages * update circle build image * removed rafty and updated more packages * bring back develop * rename authorisation to authorization
This commit is contained in:
@@ -57,7 +57,7 @@ namespace Ocelot.AcceptanceTests
|
||||
.And(_ => _steps.StartFakeOcelotWithWebSockets())
|
||||
.And(_ => StartFakeDownstreamService($"http://{downstreamHost}:{downstreamPort}", "/ws"))
|
||||
.When(_ => StartClient("ws://localhost:5000/"))
|
||||
.Then(_ => _firstRecieved.Count.ShouldBe(10))
|
||||
.Then(_ => ThenTheReceivedCountIs(10))
|
||||
.BDDfy();
|
||||
}
|
||||
|
||||
@@ -323,8 +323,12 @@ namespace Ocelot.AcceptanceTests
|
||||
{
|
||||
Console.WriteLine(e);
|
||||
}
|
||||
}
|
||||
|
||||
private void ThenTheReceivedCountIs(int count)
|
||||
{
|
||||
_firstRecieved.Count.ShouldBe(count);
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
_serviceHandler?.Dispose();
|
||||
|
Reference in New Issue
Block a user