Skip to content

Commit

Permalink
fix test using legacy method, IActionContext.NewGuid()
Browse files Browse the repository at this point in the history
  • Loading branch information
Unengine committed Sep 10, 2019
1 parent 212d34b commit 5467db6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Libplanet.Tests/Action/ActionContextTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ public void GuidShouldBeDeterministic()

foreach (var (expected, diff) in testCases)
{
Assert.Equal(expected, context1.NewGuid());
Assert.Equal(expected, context2.NewGuid());
Assert.Equal(diff, context3.NewGuid());
Assert.Equal(expected, context1.Random.GenerateRandomGuid());
Assert.Equal(expected, context2.Random.GenerateRandomGuid());
Assert.Equal(diff, context3.Random.GenerateRandomGuid());
}
}

Expand Down

0 comments on commit 5467db6

Please sign in to comment.