Enhanced easy to catch test coverage

This commit is contained in:
2025-07-29 08:38:40 +02:00
parent a0d0607ec8
commit 50b8efbb46
5 changed files with 268 additions and 11 deletions

View File

@@ -95,12 +95,13 @@ namespace Cloudflare.Zones.Tests.ZonesExtensions
}
[DataTestMethod]
[DataRow(null)]
[DataRow("023e105f4ecef8ad9ca31a8372d0c353")]
public async Task ShouldCreateZone(string accountId)
[DataRow(null, ZoneType.Full)]
[DataRow("023e105f4ecef8ad9ca31a8372d0c353", null)]
public async Task ShouldCreateZone(string accountId, ZoneType? type)
{
// Arrange
_request.AccountId = accountId;
_request.Type = type;
var client = GetClient();
// Act