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 - docker
- lnx - lnx
- server - server
rules: # rules:
- if: $CI_COMMIT_TAG != null # - if: $CI_COMMIT_TAG != null
before_script: before_script:
- apt-get update - apt-get update
- apt-get -y install zip unzip - 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/) 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). 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 ## [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 [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 [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 [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 [zones/v0.1.0]: https://github.com/AM-WD/cloudflare-api/commits/zones/v0.1.0

View File

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

View File

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

View File

@@ -13,10 +13,10 @@
<PrivateAssets>all</PrivateAssets> <PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference> </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="Moq" Version="4.20.72" />
<PackageReference Include="MSTest.TestAdapter" Version="3.10.0" /> <PackageReference Include="MSTest.TestAdapter" Version="4.0.0" />
<PackageReference Include="MSTest.TestFramework" Version="3.10.0" /> <PackageReference Include="MSTest.TestFramework" Version="4.0.0" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>

View File

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

View File

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

View File

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

1
test/MSTestSettings.cs Normal file
View File

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