Change from DataTestMethod to TestMethod due to obsolete attribute
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user