mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-04-22 06:42:50 +08:00
fixed failing tests after upgrade
This commit is contained in:
parent
6e61161406
commit
8c194a365b
@ -24,9 +24,12 @@ namespace Ocelot.AcceptanceTests
|
|||||||
private StringContent _postContent;
|
private StringContent _postContent;
|
||||||
private IWebHost _builder;
|
private IWebHost _builder;
|
||||||
|
|
||||||
|
// Sadly we need to change this when we update the netcoreapp version to make the test update the config correctly
|
||||||
|
private double _netCoreAppVersion = 1.4;
|
||||||
|
|
||||||
public OcelotTests()
|
public OcelotTests()
|
||||||
{
|
{
|
||||||
_configurationPath = "./bin/Debug/netcoreapp1.0/configuration.yaml";
|
_configurationPath = $"./bin/Debug/netcoreapp{_netCoreAppVersion}/configuration.yaml";
|
||||||
}
|
}
|
||||||
|
|
||||||
[Fact]
|
[Fact]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user