Updated test dependencies

This commit is contained in:
2025-10-09 21:05:56 +02:00
parent 8a9103c6ca
commit 932b8697ae
9 changed files with 26 additions and 13 deletions

View File

@@ -197,8 +197,8 @@ publish-docs:
- docker
- lnx
- server
rules:
- if: $CI_COMMIT_TAG != null
# rules:
# - if: $CI_COMMIT_TAG != null
before_script:
- apt-get update
- apt-get -y install zip unzip

View File

@@ -5,9 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
## [Unreleased] / [DNS] / [Zones]
### Added
- New automatic documentation generation using docfx.
- Additional articles for the documentation.
_nothing changed yet_
## [v0.1.0], [zones/v0.1.0], [dns/v0.1.0] - 2025-08-05
@@ -22,7 +26,11 @@ _Initial Release_
[Unreleased]: https://github.com/AM-WD/cloudflare-api/compare/v0.1.0...HEAD
[DNS]: https://github.com/AM-WD/cloudflare-api/compare/dns/v0.1.0...HEAD
[Zones]: https://github.com/AM-WD/cloudflare-api/compare/zones/v0.1.0...HEAD
[v0.1.0]: https://github.com/AM-WD/cloudflare-api/commits/v0.1.0
[dns/v0.1.0]: https://github.com/AM-WD/cloudflare-api/commits/dns/v0.1.0
[zones/v0.1.0]: https://github.com/AM-WD/cloudflare-api/commits/zones/v0.1.0

View File

@@ -9,7 +9,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.3"/>
<PackageReference Include="Newtonsoft.Json" Version="13.0.4"/>
<Using Include="Newtonsoft.Json"/>
<Using Include="System"/>

View File

@@ -6,6 +6,10 @@
<AssemblyOriginatorKeyFile>../../cloudflare-api.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<ItemGroup>
<Compile Include="../MSTestSettings.cs" Link="MSTestSettings.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="../../src/Cloudflare/Cloudflare.csproj" />
</ItemGroup>

View File

@@ -13,10 +13,10 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.0" />
<PackageReference Include="Moq" Version="4.20.72" />
<PackageReference Include="MSTest.TestAdapter" Version="3.10.0" />
<PackageReference Include="MSTest.TestFramework" Version="3.10.0" />
<PackageReference Include="MSTest.TestAdapter" Version="4.0.0" />
<PackageReference Include="MSTest.TestFramework" Version="4.0.0" />
</ItemGroup>
<ItemGroup>

View File

@@ -85,8 +85,6 @@ namespace Cloudflare.Dns.Tests.DnsRecordsExtensions
Assert.IsTrue(response.Result.Proxiable);
Assert.IsNotNull(response.Result.Settings);
Assert.IsNotNull(response.Result.Meta);
Assert.IsNotNull(response.Result.CreatedOn);
Assert.IsNotNull(response.Result.ModifiedOn);
Assert.IsNotNull(response.Result.CommentModifiedOn);
Assert.IsNotNull(response.Result.TagsModifiedOn);

View File

@@ -87,8 +87,6 @@ namespace Cloudflare.Dns.Tests.DnsRecordsExtensions
Assert.IsTrue(response.Result.Proxiable);
Assert.IsNotNull(response.Result.Settings);
Assert.IsNotNull(response.Result.Meta);
Assert.IsNotNull(response.Result.CreatedOn);
Assert.IsNotNull(response.Result.ModifiedOn);
Assert.IsNotNull(response.Result.CommentModifiedOn);
Assert.IsNotNull(response.Result.TagsModifiedOn);

View File

@@ -2,7 +2,11 @@
<PropertyGroup>
<AssemblyOriginatorKeyFile>../../../cloudflare-api.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<ItemGroup>
<Compile Include="../../MSTestSettings.cs" Link="MSTestSettings.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="../../../src/Cloudflare/Cloudflare.csproj" />
</ItemGroup>

1
test/MSTestSettings.cs Normal file
View File

@@ -0,0 +1 @@
[assembly: Parallelize(Scope = ExecutionScope.MethodLevel)]