Skip to content

Commit

Permalink
fix: Wrong method names in ClientSceneTests
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Langsenkamp committed May 2, 2020
1 parent 9f59e0c commit ab3f353
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Assets/Mirror/Tests/Editor/ClientSceneTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ public void RegisterPrefab_Prefab_WarningForAssetIdAlreadyExistingInPrefabsDicti
prefabs.Add(guid, validPrefab);

LogAssert.Expect(LogType.Warning, $"Replacing existing prefab with assetId '{guid}'. Old prefab '{validPrefab.name}', New prefab '{validPrefab.name}'");
callRegisterPrefab(validPrefab, setGuid, newGuid);
CallRegisterPrefab(validPrefab, setGuid, newGuid);
}

[Test]
Expand All @@ -265,7 +265,7 @@ public void RegisterPrefab_Prefab_WarningForAssetIdAlreadyExistingInHandlersDict
unspawnHandlers.Add(guid, x => { });

LogAssert.Expect(LogType.Warning, $"Adding prefab '{validPrefab.name}' with assetId '{guid}' when spawnHandlers with same assetId already exists.");
callRegisterPrefab(validPrefab, setGuid, newGuid);
CallRegisterPrefab(validPrefab, setGuid, newGuid);
}


Expand Down

0 comments on commit ab3f353

Please sign in to comment.