Commit Graph

3 Commits

Author SHA1 Message Date
Rui Tome
7ed77176e2 Refactor organization user acceptance tests to utilize feature flags
- Converted existing tests to use [Theory] with [InlineData] for feature flag variations.
- Updated assertions to reflect expected status codes based on feature flag state.
- Enhanced user confirmation checks to ensure proper linking and email verification after acceptance.
- Improved test coverage for organization initialization scenarios with and without collections.
2026-01-29 17:09:21 +00:00
Rui Tome
5b572e2009 Refactor AcceptInit method to support feature flag for organization initialization
Updated the AcceptInit method in OrganizationUsersController to return an IResult type and handle organization initialization based on a feature flag. If the feature is enabled, it utilizes the new InitPendingOrganizationVNextAsync method for atomic organization setup and user confirmation. Integration tests were added to verify the behavior under both feature flag states, ensuring proper initialization and error handling.
2026-01-12 14:14:35 +00:00
Rui Tome
3dcd1006c9 Add integration tests for AcceptInit endpoint in OrganizationUsersController 2026-01-09 14:07:42 +00:00