kontent-ai / management-sdk-net

Kontent.ai Management .NET SDK
https://www.nuget.org/packages/Kontent.Ai.Management
MIT License
7 stars 30 forks source link

new workflow tests #232

Closed gormal closed 1 year ago

gormal commented 1 year ago

Motivation

new unit test for workflow

Breaking changes: CreateWorkflowAsync now throws if create model is null UpdateWorkflowAsync now throws if identifier or upsert model is null SchedulePublishingOfLanguageVariantAsync now throws if schedule model is null ScheduleUnpublishingOfLanguageVariantAsync now throws if schedule model is null

codecov-commenter commented 1 year ago

Codecov Report

Merging #232 (55d5ea4) into experiment/new_unit_tests (4398d1c) will increase coverage by 2.15%. The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@                      Coverage Diff                      @@
##           experiment/new_unit_tests     #232      +/-   ##
=============================================================
+ Coverage                      82.94%   85.10%   +2.15%     
=============================================================
  Files                            242      231      -11     
  Lines                           2774     2658     -116     
  Branches                         310      303       -7     
=============================================================
- Hits                            2301     2262      -39     
+ Misses                           368      308      -60     
+ Partials                         105       88      -17     
Impacted Files Coverage Δ
Kontent.Ai.Management/ManagementClient.Workflow.cs 100.00% <100.00%> (+34.61%) :arrow_up:
...Management/Modules/ActionInvoker/MessageCreator.cs 61.11% <0.00%> (-2.05%) :arrow_down:
...anagement/Modules/UrlBuilder/EndpointUrlBuilder.cs 92.80% <0.00%> (-0.23%) :arrow_down:
...esiliencePolicy/DefaultResiliencePolicyProvider.cs 100.00% <0.00%> (ø)
...ment/Modules/UrlBuilder/Templates/SpaceTemplate.cs
...els/PreviewConfiguration/PreviewUrlPatternModel.cs
.../PreviewConfiguration/PreviewConfigurationModel.cs
...nt/Models/PreviewConfiguration/SpaceDomainModel.cs
.../Models/Spaces/Patch/SpaceOperationReplaceModel.cs
...PreviewConfiguration/TypePreviewUrlPatternModel.cs
... and 11 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more