Skip to content

Commit a0d32b9

Browse files
committed
Tidy unit tests
1 parent 8f3d294 commit a0d32b9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Tests/CrimeMonitorTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ record = config.criminalrecord.ToList().FirstOrDefault(r => r.faction == "Calenn
186186
ConfigService.Instance.crimeMonitorConfiguration = data;
187187
}
188188

189-
[TestMethod]
189+
[TestMethod, DoNotParallelize]
190190
public async Task TestCrimeEventsScenario()
191191
{
192192
EDDI.Instance.DataProvider = CreateTestDataProvider();
@@ -301,7 +301,7 @@ public async Task TestCrimeShipTargeted()
301301
}
302302

303303
// Test that we're able to detect and correct for simple scenarios where a bounty has been converted to an interstellar bounty
304-
[TestMethod]
304+
[TestMethod, DoNotParallelize]
305305
public async Task TestCrimeInterstellarFactorsScenario()
306306
{
307307
var line1 = @"{ ""timestamp"":""2022-01-15T18:37:38Z"", ""event"":""CommitCrime"", ""CrimeType"":""assault"", ""Faction"":""Radio Sidewinder Crew"", ""Victim"":""Jim Grady"", ""Bounty"":100 }";

Tests/SpanshServiceTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public void start()
1919
MakeSafe();
2020
}
2121

22-
[TestMethod]
22+
[TestMethod, DoNotParallelize]
2323
public async Task TestSpanshCarrierRouteAsync()
2424
{
2525
// Arrange
@@ -103,7 +103,7 @@ public async Task TestSpanshCarrierRouteAsync()
103103
Assert.AreEqual(25899.96875M, result.Waypoints[53].z);
104104
}
105105

106-
[TestMethod]
106+
[TestMethod, DoNotParallelize]
107107
public async Task TestSpanshGalaxyRouteAsync()
108108
{
109109
// Arrange

0 commit comments

Comments
 (0)