Updated UnitTests

This commit is contained in:
2025-10-27 16:29:31 +01:00
parent 4d05976ff6
commit 69816d0c02
56 changed files with 247 additions and 246 deletions

View File

@@ -107,7 +107,7 @@ namespace Cloudflare.Zones.Tests.ZonesExtensions
var client = GetClient();
// Act
var response = await client.CreateZone(_request, TestContext.CancellationTokenSource.Token);
var response = await client.CreateZone(_request, TestContext.CancellationToken);
// Assert
Assert.IsNotNull(response);
@@ -136,7 +136,7 @@ namespace Cloudflare.Zones.Tests.ZonesExtensions
var client = GetClient();
// Act & Assert
await Assert.ThrowsExactlyAsync<ArgumentOutOfRangeException>(async () => await client.CreateZone(_request, TestContext.CancellationTokenSource.Token));
await Assert.ThrowsExactlyAsync<ArgumentOutOfRangeException>(async () => await client.CreateZone(_request, TestContext.CancellationToken));
}
private ICloudflareClient GetClient()