Loading StockAdvisoryWebApi.Tests/StockWebApiTests.cs +5 −5 Original line number Diff line number Diff line Loading @@ -44,7 +44,7 @@ public class StockWebApiTests public void Setup() { SetupFiles(); _clock = new FakeClock(Instant.FromUtc(2022, 4, 12, 12, 0)); _clock = new FakeClock(Instant.FromUtc(2022, 4, 12, 0, 0)); var options = new HttpClientInterceptorOptions(); var httpBuilder = new HttpRequestInterceptionBuilder(); Loading Loading @@ -145,8 +145,8 @@ public class StockWebApiTests var analyzer = new StockDifferenceAnalyzerFactory() .CreateAnalyzer( stockParser.Parse("filesystem/2022-04-11-00_00_00.csv"), stockParser.Parse("filesystem/2022-04-12-00_00_00.csv") stockParser.Parse($"filesystem{Path.DirectorySeparatorChar}2022-04-11-00_00_00.csv"), stockParser.Parse($"filesystem{Path.DirectorySeparatorChar}2022-04-12-00_00_00.csv") ); var expected = new StockDifferences Loading @@ -169,8 +169,8 @@ public class StockWebApiTests var stockParser = new StockParser(); var analyzer = new StockDifferenceAnalyzerFactory() .CreateAnalyzer( stockParser.Parse("filesystem/2022-03-31-00_00_00.csv"), stockParser.Parse("filesystem/2022-04-11-00_00_00.csv") stockParser.Parse($"filesystem{Path.DirectorySeparatorChar}2022-03-31-00_00_00.csv"), stockParser.Parse($"filesystem{Path.DirectorySeparatorChar}2022-04-11-00_00_00.csv") ); var expected = new StockDifferences Loading Loading
StockAdvisoryWebApi.Tests/StockWebApiTests.cs +5 −5 Original line number Diff line number Diff line Loading @@ -44,7 +44,7 @@ public class StockWebApiTests public void Setup() { SetupFiles(); _clock = new FakeClock(Instant.FromUtc(2022, 4, 12, 12, 0)); _clock = new FakeClock(Instant.FromUtc(2022, 4, 12, 0, 0)); var options = new HttpClientInterceptorOptions(); var httpBuilder = new HttpRequestInterceptionBuilder(); Loading Loading @@ -145,8 +145,8 @@ public class StockWebApiTests var analyzer = new StockDifferenceAnalyzerFactory() .CreateAnalyzer( stockParser.Parse("filesystem/2022-04-11-00_00_00.csv"), stockParser.Parse("filesystem/2022-04-12-00_00_00.csv") stockParser.Parse($"filesystem{Path.DirectorySeparatorChar}2022-04-11-00_00_00.csv"), stockParser.Parse($"filesystem{Path.DirectorySeparatorChar}2022-04-12-00_00_00.csv") ); var expected = new StockDifferences Loading @@ -169,8 +169,8 @@ public class StockWebApiTests var stockParser = new StockParser(); var analyzer = new StockDifferenceAnalyzerFactory() .CreateAnalyzer( stockParser.Parse("filesystem/2022-03-31-00_00_00.csv"), stockParser.Parse("filesystem/2022-04-11-00_00_00.csv") stockParser.Parse($"filesystem{Path.DirectorySeparatorChar}2022-03-31-00_00_00.csv"), stockParser.Parse($"filesystem{Path.DirectorySeparatorChar}2022-04-11-00_00_00.csv") ); var expected = new StockDifferences Loading