Change from DataTestMethod to TestMethod due to obsolete attribute

This commit is contained in:
2025-08-04 15:46:47 +02:00
parent 5697b8f921
commit 874ea58d87
24 changed files with 131 additions and 131 deletions

View File

@@ -28,7 +28,7 @@ namespace Cloudflare.Core.Tests.Auth
Assert.AreEqual(apiKey, clt.DefaultRequestHeaders.GetValues("X-Auth-Key").First());
}
[DataTestMethod]
[TestMethod]
[DataRow(null)]
[DataRow("")]
[DataRow(" ")]
@@ -44,7 +44,7 @@ namespace Cloudflare.Core.Tests.Auth
// Assert - ArgumentNullException
}
[DataTestMethod]
[TestMethod]
[DataRow(null)]
[DataRow("")]
[DataRow(" ")]
@@ -60,7 +60,7 @@ namespace Cloudflare.Core.Tests.Auth
// Assert - ArgumentNullException
}
[DataTestMethod]
[TestMethod]
[DataRow("test")]
[DataRow("test@example")]
[DataRow("example.com")]