Change from DataTestMethod to TestMethod due to obsolete attribute
This commit is contained in:
@@ -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")]
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace Cloudflare.Core.Tests.Auth
|
||||
Assert.AreEqual(apiToken, clt.DefaultRequestHeaders.Authorization.Parameter);
|
||||
}
|
||||
|
||||
[DataTestMethod]
|
||||
[TestMethod]
|
||||
[DataRow(null)]
|
||||
[DataRow("")]
|
||||
[DataRow(" ")]
|
||||
|
||||
Reference in New Issue
Block a user