fix: Wrong method names in ClientSceneTests

This commit is contained in:
Chris Langsenkamp 2020-05-02 00:02:37 -04:00
parent 9f59e0c439
commit ab3f353b33

View File

@ -251,7 +251,7 @@ public void RegisterPrefab_Prefab_WarningForAssetIdAlreadyExistingInPrefabsDicti
prefabs.Add(guid, validPrefab); prefabs.Add(guid, validPrefab);
LogAssert.Expect(LogType.Warning, $"Replacing existing prefab with assetId '{guid}'. Old prefab '{validPrefab.name}', New prefab '{validPrefab.name}'"); 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] [Test]
@ -265,7 +265,7 @@ public void RegisterPrefab_Prefab_WarningForAssetIdAlreadyExistingInHandlersDict
unspawnHandlers.Add(guid, x => { }); unspawnHandlers.Add(guid, x => { });
LogAssert.Expect(LogType.Warning, $"Adding prefab '{validPrefab.name}' with assetId '{guid}' when spawnHandlers with same assetId already exists."); 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);
} }