ATS-MBR-STR-017Maintain reasons for membership status actions: Acceptance Test Set
MarkdownMaintain reasons for membership status actions: Acceptance Test Set
Coverage
Test Scenarios
2 scenarios proving CAP-MBR-STR-017; 0 bound to an existing test.
01 Reasons reject an unsupported action categoryapinegativeproposed
- Proves
BR-CAP-MBR-STR-017-01 - Preconditions
- An isolated Membership-licensed workspace contains the relevant records, with caller permissions selected for the case.
- Steps
- Attempt to create a reason categorized as expiry.
- Expected
- Validation reports the unsupported use and saves no reason.
- Data
- The FAA example records or equivalent records prepared within the isolated workspace.
- Source
- services-membership:modules/configuration/services/configuration/configuration-records.ts:statusReasonContent
02 Actions reject inactive or mismatched reasonsapinegativeproposed
- Proves
BR-CAP-MBR-STR-017-02 - Preconditions
- An isolated Membership-licensed workspace contains the relevant records, with caller permissions selected for the case.
- Steps
- Attempt termination using a suspension-only reason and an inactive reason.
- Expected
- Both requests identify why the selected reason is unsuitable.
- Data
- The FAA example records or equivalent records prepared within the isolated workspace.
- Source
- services-membership:modules/configuration/services/persistence/membership-status-reasons.ts:requireStatusReason