Skip to content

Commit 8c50b2e

Browse files
committed
Fix standards check
1 parent 6b9bdc3 commit 8c50b2e

File tree

3 files changed

+3
-15
lines changed

3 files changed

+3
-15
lines changed

com.unity.netcode.gameobjects/Tests/Runtime/Rpc/RpcInvocationTests.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ public RpcInvocationTests(NetworkTopologyTypes topologyType) : base(topologyType
2323

2424
private Dictionary<NetworkManager, InvokePermissionBehaviour> m_InvokeInstances = new();
2525

26-
// TODO: [CmbServiceTests] Enable once the CMB service fixes the client spoofing issue.
27-
protected override bool UseCMBService() => false;
28-
2926
protected override void OnServerAndClientsCreated()
3027
{
3128
m_Prefab = CreateNetworkObjectPrefab("RpcInvokePermissionTest");

testproject/Assets/Tests/Runtime/SceneObjectsNotDestroyedOnShutdownTest.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111
namespace TestProject.RuntimeTests
1212
{
13-
[TestFixture(HostOrServer.Host)]
14-
[TestFixture(HostOrServer.DAHost)]
13+
[TestFixture(NetworkTopologyTypes.ClientServer)]
14+
[TestFixture(NetworkTopologyTypes.DistributedAuthority)]
1515
public class SceneObjectsNotDestroyedOnShutdownTest : NetcodeIntegrationTest
1616
{
1717
protected override int NumberOfClients => 0;
@@ -21,7 +21,7 @@ public class SceneObjectsNotDestroyedOnShutdownTest : NetcodeIntegrationTest
2121
private Scene m_TestScene;
2222
private WaitForSeconds m_DefaultWaitForTick = new(1.0f / 30);
2323

24-
public SceneObjectsNotDestroyedOnShutdownTest(HostOrServer hostOrServer) : base(hostOrServer) {}
24+
public SceneObjectsNotDestroyedOnShutdownTest(NetworkTopologyTypes topology) : base(topology) { }
2525

2626
[UnityTest]
2727
public IEnumerator SceneObjectsNotDestroyedOnShutdown()

testproject/Assets/Tests/Runtime/SenderIdTests.cs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,10 @@
1010

1111
namespace TestProject.RuntimeTests
1212
{
13-
14-
[TestFixture(NetworkTopologyTypes.DistributedAuthority)]
15-
[TestFixture(NetworkTopologyTypes.ClientServer)]
1613
public class SenderIdTests : NetcodeIntegrationTest
1714
{
1815
protected override int NumberOfClients => 2;
1916

20-
// TODO: [CmbServiceTests] Adapt to run with the service
21-
protected override bool UseCMBService()
22-
{
23-
return false;
24-
}
25-
2617
private NetworkManager FirstClient => m_ClientNetworkManagers[0];
2718
private NetworkManager SecondClient => m_ClientNetworkManagers[1];
2819

0 commit comments

Comments
 (0)