Skip to content

Enhance accounts service with pagination and comprehensive testing#140

Merged
privateip merged 1 commit intoitential:develfrom
privateip:update-accounts-service
Sep 9, 2025
Merged

Enhance accounts service with pagination and comprehensive testing#140
privateip merged 1 commit intoitential:develfrom
privateip:update-accounts-service

Conversation

@privateip
Copy link
Member

  • Update GetAll() to handle pagination automatically with 100 records per page
  • Add comprehensive function documentation following Go conventions
  • Enhance unit tests with better coverage and error scenarios
  • Add PATCH test helpers to testlib for Activate/Deactivate testing
  • Fix test URLs to match actual API endpoint patterns
  • Add defensive assertions to prevent test failures

Fixes #136

- Update GetAll() to handle pagination automatically with 100 records per page
- Add comprehensive function documentation following Go conventions
- Enhance unit tests with better coverage and error scenarios
- Add PATCH test helpers to testlib for Activate/Deactivate testing
- Fix test URLs to match actual API endpoint patterns
- Add defensive assertions to prevent test failures

Fixes #136
@privateip privateip merged commit d7dc7e3 into itential:devel Sep 9, 2025
1 check passed
@privateip privateip deleted the update-accounts-service branch September 9, 2025 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ipctl v10 - cannot find users (api response pagination)

1 participant