From fce208c51c26f51c821e13356ffdc5b38854c118 Mon Sep 17 00:00:00 2001 From: Mariusz Kotas Date: Fri, 16 Feb 2024 17:46:35 +0100 Subject: [PATCH] Fix tests --- .../Crypto.Websocket.Extensions.Tests/CryptoOrderBookL2Tests.cs | 2 +- test/Crypto.Websocket.Extensions.Tests/CryptoOrderBookTests.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Crypto.Websocket.Extensions.Tests/CryptoOrderBookL2Tests.cs b/test/Crypto.Websocket.Extensions.Tests/CryptoOrderBookL2Tests.cs index 6b3be7b..039ff5e 100644 --- a/test/Crypto.Websocket.Extensions.Tests/CryptoOrderBookL2Tests.cs +++ b/test/Crypto.Websocket.Extensions.Tests/CryptoOrderBookL2Tests.cs @@ -657,7 +657,7 @@ public async Task ValidityChecking_ShouldWorkCorrectly() await Task.Delay(TimeSpan.FromMilliseconds(2000)); Assert.Equal(pair, source.SnapshotLastPair); - Assert.InRange(source.SnapshotCalledCount, 4, 5); + Assert.InRange(source.SnapshotCalledCount, 1, 5); Assert.Equal(2, orderBookUpdatedCount); } diff --git a/test/Crypto.Websocket.Extensions.Tests/CryptoOrderBookTests.cs b/test/Crypto.Websocket.Extensions.Tests/CryptoOrderBookTests.cs index c43fa9b..c65ad4e 100644 --- a/test/Crypto.Websocket.Extensions.Tests/CryptoOrderBookTests.cs +++ b/test/Crypto.Websocket.Extensions.Tests/CryptoOrderBookTests.cs @@ -657,7 +657,7 @@ public async Task ValidityChecking_ShouldWorkCorrectly() await Task.Delay(TimeSpan.FromMilliseconds(2000)); Assert.Equal(pair, source.SnapshotLastPair); - Assert.InRange(source.SnapshotCalledCount, 4, 5); + Assert.InRange(source.SnapshotCalledCount, 1, 5); Assert.Equal(2, orderBookUpdatedCount); }