Commit c16871e7 authored by kamilfnukal's avatar kamilfnukal
Browse files

fixed time issues

parent d352df3d
Loading
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -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();
@@ -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
@@ -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