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

@@ -71,7 +71,7 @@ namespace Cloudflare.Dns.Tests.DnsAccountSettingsExtensions
var client = GetClient();
// Act
var response = await client.ShowDnsAccountSettings(AccountId, TestContext.CancellationTokenSource.Token);
var response = await client.ShowDnsAccountSettings(AccountId, TestContext.CancellationToken);
// Assert
Assert.IsNotNull(response);
@@ -85,7 +85,7 @@ namespace Cloudflare.Dns.Tests.DnsAccountSettingsExtensions
Assert.IsNull(queryFilter);
_clientMock.Verify(m => m.GetAsync<DnsAccountSettings>($"/accounts/{AccountId}/dns_settings", null, It.IsAny<CancellationToken>()), Times.Once);
_clientMock.Verify(m => m.GetAsync<DnsAccountSettings>($"/accounts/{AccountId}/dns_settings", null, TestContext.CancellationToken), Times.Once);
_clientMock.VerifyNoOtherCalls();
}