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

@@ -65,7 +65,7 @@ namespace Cloudflare.Core.Tests.CloudflareClientTests
// Assert - ObjectDisposedException
}
[DataTestMethod]
[TestMethod]
[DataRow(null)]
[DataRow("")]
[DataRow(" ")]
@@ -197,7 +197,7 @@ namespace Cloudflare.Core.Tests.CloudflareClientTests
VerifyNoOtherCalls();
}
[DataTestMethod]
[TestMethod]
[DataRow(HttpStatusCode.Unauthorized)]
[DataRow(HttpStatusCode.Forbidden)]
public async Task ShouldThrowAuthenticationExceptionOnStatusCode(HttpStatusCode statusCode)