Skip to content

Commit ea28b69

Browse files
style
Fixing misspelled GetServiceEnvironmentVariable. Fixing comment for grammar and clarity.
1 parent 3e72d79 commit ea28b69

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

com.unity.netcode.gameobjects/TestHelpers/Runtime/NetcodeIntegrationTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ protected NetworkManager GetNonAuthorityNetworkManager()
247247
/// check the environment variable once per test set.
248248
/// </remarks>
249249
/// <returns>true/false</returns>
250-
private bool GetServiceEnviromentVariable()
250+
private bool GetServiceEnvironmentVariable()
251251
{
252252
if (!m_UseCmbServiceEnv && m_UseCmbServiceEnvString == null)
253253
{
@@ -427,7 +427,7 @@ public void OneTimeSetup()
427427
// If the environment variable is set (i.e. doing a CMB server run) but UseCMBservice returns false, then ignore the test.
428428
// Note: This will prevent us from re-running all of the non-DA integration tests that have already run multiple times on
429429
// multiple platforms
430-
if (GetServiceEnviromentVariable() && !UseCMBService())
430+
if (GetServiceEnvironmentVariable() && !UseCMBService())
431431
{
432432
Assert.Ignore("[CMB-Server Test Run] Skipping non-distributed authority test.");
433433
return;

com.unity.netcode.gameobjects/TestHelpers/Runtime/NetcodeIntegrationTestHelpers.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ public static void RegisterHandlers(NetworkManager networkManager, bool serverSi
174174

175175
/// <summary>
176176
/// Use for non <see cref="NetcodeIntegrationTest"/> derived integration tests to automatically ignore the
177-
/// test is the USE_CMB_SERVICE is set.
177+
/// test if running against a CMB server.
178178
/// </summary>
179179
internal static void IgnoreIfServiceEnviromentVariableSet()
180180
{

0 commit comments

Comments
 (0)