Skip to content
Permalink
Browse files

fix test using legacy method, `IActionContext.NewGuid()`

  • Loading branch information...
Unengine committed Sep 10, 2019
1 parent 212d34b commit 5467db602981190b2117d29057bd5dbe4b2eac26
Showing with 3 additions and 3 deletions.
  1. +3 −3 Libplanet.Tests/Action/ActionContextTest.cs
@@ -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());
}
}

0 comments on commit 5467db6

Please sign in to comment.
You can’t perform that action at this time.