TEST data
TEST-environment helpers for fixture subjects, people, permissions, attachments, and context blocks.
Operations
Section titled “Operations”| Operation | Summary | Variants |
|---|---|---|
| Test data | Return the TEST-only data seeding client. | Sync, Async |
| TEST data client: Create subject | Create a test subject with optional subunits. | Sync, Async |
| TEST data client: Delete subject | Delete a test subject by NIP. | Sync, Async |
| TEST data client: Create person | Create a test person in the chosen subject. | Sync, Async |
| TEST data client: Delete person | Delete a test person by subject NIP. | Sync, Async |
| TEST data client: Grant permissions | Grant test permissions in a chosen context. | Sync, Async |
| TEST data client: Revoke permissions | Revoke test permissions in a chosen context. | Sync, Async |
| TEST data client: Enable attachments | Enable invoice attachments for a test subject. | Sync, Async |
| TEST data client: Revoke attachments | Revoke attachment permissions, optionally effective on a given date. | Sync, Async |
| TEST data client: Block context | Block authentication for a specific test context. | Sync, Async |
| TEST data client: Unblock context | Unblock authentication for a specific test context. | Sync, Async |
| TEST data client: Temporal | Return a context manager that automatically cleans up created test data. | Sync, Async |
| Temporal TEST data: Create subject | Create a TEST subject and register it for context-manager cleanup. | Sync, Async |
| Temporal TEST data: Delete subject | Delete a TEST subject and remove it from cleanup tracking. | Sync, Async |
| Temporal TEST data: Create person | Create a TEST person and register it for context-manager cleanup. | Sync, Async |
| Temporal TEST data: Delete person | Delete a TEST person and remove it from cleanup tracking. | Sync, Async |
| Temporal TEST data: Grant permissions | Grant TEST permissions and register them for cleanup. | Sync, Async |
| Temporal TEST data: Revoke permissions | Revoke TEST permissions and remove them from cleanup tracking. | Sync, Async |
| Temporal TEST data: Enable attachments | Enable TEST attachments and register the context for cleanup. | Sync, Async |
| Temporal TEST data: Revoke attachments | Revoke TEST attachment access and remove it from cleanup tracking. | Sync, Async |
| Temporal TEST data: Block context | Block a TEST context and register it for cleanup. | Sync, Async |
| Temporal TEST data: Unblock context | Unblock a TEST context and remove it from cleanup tracking. | Sync, Async |