Commit 58bdc42
committed
Refactor Workflow Tests and Services to Use System.Text.Json
- Updated WorkflowTest.cs to replace Newtonsoft.Json with System.Text.Json for JSON handling.
- Modified assertions in tests to utilize OpenJsonObjectResponse instead of OpenJObjectResponse.
- Changed BulkWorkflowUpdateServiceTest to use System.Text.Json for serialization settings.
- Refactored Workflow.cs and WorkflowModel.cs to remove Newtonsoft.Json dependencies and implement System.Text.Json attributes.
- Ensured consistency in JSON serialization options across the codebase.1 parent 7a5c1cd commit 58bdc42
5 files changed
Lines changed: 132 additions & 134 deletions
File tree
- Contentstack.Management.Core.Tests/IntegrationTest
- Contentstack.Management.Core.Unit.Tests
- Core/Services/Stack
- Models
- Contentstack.Management.Core/Models
0 commit comments