fix test and use latest coveralls tool

This commit is contained in:
TGP
2022-01-20 14:23:32 +00:00
parent 52555fc7a9
commit 69bd9a8548
3 changed files with 13 additions and 9 deletions

View File

@ -38,7 +38,7 @@ namespace Ocelot.UnitTests.Kubernetes
{
_serviceName = "test";
_namespaces = "dev";
_port = 86;
_port = 5567;
_kubeHost = "localhost";
_fakekubeServiceDiscoveryUrl = $"http://{_kubeHost}:{_port}";
_endpointEntries = new EndpointsV1();
@ -94,11 +94,11 @@ namespace Ocelot.UnitTests.Kubernetes
.Then(x => ThenTheCountIs(1))
.And(_ => ThenTheTokenIs(token))
.BDDfy();
}
private void ThenTheTokenIs(string token)
{
_receivedToken.ShouldBe(token);
}
private void ThenTheTokenIs(string token)
{
_receivedToken.ShouldBe(token);
}
private void ThenTheCountIs(int count)