Skip to content

Commit 920c4a6

Browse files
Update tests where it's creating MatchmakingResutls.MatchProperties to use expected key
1 parent 726a2d3 commit 920c4a6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/AllocatorTests/PlayFabAllocatorTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ public async Task WillAllocateToSpecificRegion()
256256
var allocation = await _allocator.Allocate(_executionContextMock.Object, new AllocateRequest("1234",
257257
new MatchmakingResults(null, "matchId", "poolId", "poolName", "queueName", new Dictionary<string, object>
258258
{
259-
{ "region", "customRegion" }
259+
{ "Region", "customRegion" }
260260
})));
261261

262262
using (Assert.EnterMultipleScope())
@@ -299,7 +299,7 @@ public async Task WillLogAndReturnAllocationErrorWhenRegionIsEmpty()
299299
var allocation = await _allocator.Allocate(_executionContextMock.Object, new AllocateRequest("1234",
300300
new MatchmakingResults(null, "matchId", "poolId", "poolName", "queueName", new Dictionary<string, object>
301301
{
302-
{ "region", string.Empty }
302+
{ "Region", string.Empty }
303303
})));
304304

305305
using (Assert.EnterMultipleScope())

0 commit comments

Comments
 (0)