Skip to content

Commit d09dc50

Browse files
authored
fix: Syntax Error in testproject-tools-integration (#1749)
1 parent 2787ac5 commit d09dc50

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

testproject-tools-integration/Assets/Tests/Runtime/SceneEventTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public IEnumerator TestS2CLoadSent()
4848
// the message is sent to the client. AsyncOperation is the ScceneManager.LoadSceneAsync operation.
4949
m_ServerNetworkSceneManager.OnSceneEvent += sceneEvent =>
5050
{
51-
if (sceneEvent.SceneEventType.Equals(SceneEventType.LoadComplete) && && sceneEvent.ClientId == Server.LocalClientId)
51+
if (sceneEvent.SceneEventType.Equals(SceneEventType.LoadComplete) && sceneEvent.ClientId == Server.LocalClientId)
5252
{
5353
serverSceneLoaded = true;
5454
}
@@ -250,9 +250,9 @@ public IEnumerator TestS2CUnloadSent()
250250
// as this is when the message is sent
251251
m_ServerNetworkSceneManager.OnSceneEvent += sceneEvent =>
252252
{
253-
if (sceneEvent.SceneEventType.Equals(SceneEventType.LoadComplete) && && sceneEvent.ClientId == Server.LocalClientId)
253+
if (sceneEvent.SceneEventType.Equals(SceneEventType.LoadComplete) && sceneEvent.ClientId == Server.LocalClientId)
254254
{
255-
serverSceneLoaded = true;
255+
serverSceneUnloaded = true;
256256
}
257257
};
258258

testproject-tools-integration/Assets/Tests/Runtime/testproject.toolsintegration.runtimetests.asmdef

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"Unity.Multiplayer.NetStats",
99
"Unity.Multiplayer.Tools.MetricTypes",
1010
"Unity.Multiplayer.Tools.NetStats",
11-
"UnityEngine.TestRunner"
11+
"UnityEngine.TestRunner",
1212
"Unity.Collections"
1313
],
1414
"includePlatforms": [],

0 commit comments

Comments
 (0)