From 8c194a365bc6db3675ca7c7e3609a0b9c1f42240 Mon Sep 17 00:00:00 2001 From: "tom.pallister" Date: Fri, 14 Oct 2016 13:30:34 +0100 Subject: [PATCH] fixed failing tests after upgrade --- test/Ocelot.AcceptanceTests/OcelotTests.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/Ocelot.AcceptanceTests/OcelotTests.cs b/test/Ocelot.AcceptanceTests/OcelotTests.cs index 99219ac7..299f67bf 100644 --- a/test/Ocelot.AcceptanceTests/OcelotTests.cs +++ b/test/Ocelot.AcceptanceTests/OcelotTests.cs @@ -24,9 +24,12 @@ namespace Ocelot.AcceptanceTests private StringContent _postContent; 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() { - _configurationPath = "./bin/Debug/netcoreapp1.0/configuration.yaml"; + _configurationPath = $"./bin/Debug/netcoreapp{_netCoreAppVersion}/configuration.yaml"; } [Fact]