Skip to content

Tests: Added the Unit test cases and Fixed the existing failing APi Test cases #2

Tests: Added the Unit test cases and Fixed the existing failing APi Test cases

Tests: Added the Unit test cases and Fixed the existing failing APi Test cases #2

Triggered via pull request November 6, 2025 12:32
@cs-rajcs-raj
synchronize #140
tests/DX-3676
Status Success
Total duration 2m 0s
Artifacts

unit-test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
unit-test: Contentstack.Core/Internals/StackOutput.cs#L9
The field 'StackOutput._TotalCount' is assigned but its value is never used
unit-test: Contentstack.Core/Internals/StackOutput.cs#L12
The field 'StackOutput._Output' is assigned but its value is never used
unit-test: Contentstack.Core/Internals/StackOutput.cs#L14
The field 'StackOutput._Schema' is assigned but its value is never used
unit-test: Contentstack.Core/Internals/StackOutput.cs#L18
The field 'StackOutput._Object' is assigned but its value is never used
unit-test: Contentstack.Core/ContentstackClient.cs#L611
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
unit-test: Contentstack.Core/Attributes/CSJsonConverterAttribute.cs#L72
The variable 'ex' is declared but never used
unit-test: Contentstack.Core/ContentstackClient.cs#L88
'ContentstackOptions.AccessToken' is obsolete: 'We have deprecated AccessToken and we will stop supporting it in the near future. We strongly recommend using DeliveryToken.'
unit-test: Contentstack.Core/ContentstackClient.cs#L86
'ContentstackOptions.AccessToken' is obsolete: 'We have deprecated AccessToken and we will stop supporting it in the near future. We strongly recommend using DeliveryToken.'
unit-test: Contentstack.Core/Models/Taxonomy.cs#L245
'Taxonomy.GetContentstackError(Exception)' hides inherited member 'Query.GetContentstackError(Exception)'. Use the new keyword if hiding was intended.
unit-test: Contentstack.Core/Models/Taxonomy.cs#L29
'Taxonomy.Stack' hides inherited member 'Query.Stack'. Use the new keyword if hiding was intended.