Skip to content

Commit 49d758c

Browse files
update
Using attributes vs methods to ignore this test.
1 parent ada38ab commit 49d758c

1 file changed

Lines changed: 2 additions & 10 deletions

File tree

testproject/Assets/Tests/Runtime/HelpUrlTests.cs

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,23 +16,15 @@
1616

1717
namespace TestProject.RuntimeTests
1818
{
19+
[IgnoreIfServiceEnviromentVariableSet]
20+
[IgnoreIfUnifiedTestsEnvironmentVariableSet]
1921
internal class HelpUrlTests
2022
{
2123
private const string k_PackageName = "com.unity.netcode.gameobjects";
2224
private static readonly HttpClient k_HttpClient = new();
2325

2426
private bool m_VerboseLogging = false;
2527

26-
[OneTimeSetUp]
27-
public void OneTimeSetup()
28-
{
29-
// This test does not need to run against the Rust server.
30-
NetcodeIntegrationTestHelpers.IgnoreIfServiceEnviromentVariableSet();
31-
32-
// Excluding from unified tests. If deemed needed, update test, then remove.
33-
NetcodeIntegrationTestHelpers.IgnoreIfUnifiedTestsEnvironmentVariableSet();
34-
}
35-
3628
[UnityTest]
3729
public IEnumerator ValidateUrlsAreValid()
3830
{

0 commit comments

Comments
 (0)