fixed failing tests after upgrade

This commit is contained in:
tom.pallister 2016-10-14 13:30:34 +01:00
parent 6e61161406
commit 8c194a365b

View File

@ -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]