Repository navigation
Commit 34a5ca6
committed
test(workspaces): prove v2 member management in-process against PostgreSQL
Replace the running-app E2E script with an integration suite that drives
the real v2 member route handlers with hashed personal keys, a workspace
key, and OAuth tokens against PostgreSQL, including a SCIM-managed member.
Simplify the store-failure mapping with findCause and a status table, and
keep the store's HTTP error as the cause of a coded refusal so the internal
permissions route renders it exactly as before. Spread params and body in
the PATCH route like the organization member route, trim comments, and
list the renamed member commands in the Teammates settings section.1 parent f95583c commit 34a5ca6
7 files changed
Lines changed: 574 additions & 578 deletions
File tree
- apps/sim
- app/api/v2/workspaces/[workspaceId]/members/[userId]
- lib
- settings
- workspaces
- __integration__
- api
- application
- scripts
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
| 22 | + | |
27 | 23 | | |
28 | 24 | | |
29 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
116 | 121 | | |
117 | 122 | | |
118 | 123 | | |
| |||
0 commit comments