chore: Linux path for fixture fixed

This commit is contained in:
Mikhail Shabanov committed 2021-03-12 17:56:13 +01:00
1 parent a9eab26a6d
commit 7f713e5357
4 files changed
+18 -14

No files matched your search

@@ -45,10 +45,10 @@ namespace WotBlitzStatisticsPro.Tests.OperationStepsTests
var tanksHistorySerialized = JsonConvert.SerializeObject(_contextData.TanksHistory);
var expectedTanksInfo =
await File.ReadAllTextAsync($"{TestContext.CurrentContext.TestDirectory}\\Fixtures\\MappedTanks.json");
await File.ReadAllTextAsync(GetFixturePath("MappedTanks.json"));
tanksSerialized.Should().Be(expectedTanksInfo);
var expectedTanksHistory =
await File.ReadAllTextAsync($"{TestContext.CurrentContext.TestDirectory}\\Fixtures\\MappedTanksHistory.json");
await File.ReadAllTextAsync(GetFixturePath("MappedTanksHistory.json"));
tanksHistorySerialized.Should().Be(expectedTanksHistory);
}