Skip to content

Commit fa2bb0c

Browse files
V31 Gate 2: Stabilize Auxillaries profile route coverage
Aligns the Auxillaries profile route test with the package-hydrated account support contract returned by the route. Proves the preserved profile identity fields and normalized null/default support fields so the broad mocked UAPI CI suite remains green.
1 parent ce79041 commit fa2bb0c

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

uapi/tests/api/orbitalsProfileRoute.test.ts

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,17 @@ describe('/api/auxillaries/profile GET', () => {
6767
const res = await GET(makeRequest());
6868
expect(res.status).toBe(200);
6969
const json = await res.json();
70-
expect(json).toEqual(profileRow);
70+
expect(json).toEqual(expect.objectContaining({
71+
...profileRow,
72+
company_name: null,
73+
email: null,
74+
is_verified: null,
75+
team_members: [],
76+
wallet_address: null,
77+
wallet_binding: null,
78+
wallet_binding_status: null,
79+
wallet_bound_at: null,
80+
wallet_provider: null
81+
}));
7182
});
7283
});

0 commit comments

Comments
 (0)