mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-12-01 05:14:25 +00:00
test(api): update team api test to match new getTeamMembers signature
This commit is contained in:
@@ -175,7 +175,11 @@ describe('team api', () => {
|
|||||||
permission: Permission.Read,
|
permission: Permission.Read,
|
||||||
}),
|
}),
|
||||||
)
|
)
|
||||||
expect(mockGetTeamMembers).toHaveBeenCalledWith({ teamId: 't1', includeAgents: false })
|
expect(mockGetTeamMembers).toHaveBeenCalledWith({
|
||||||
|
teamId: 't1',
|
||||||
|
userId: 'user1',
|
||||||
|
includeAgents: false,
|
||||||
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
it('GET /teams/:teamId/settings returns settings', async () => {
|
it('GET /teams/:teamId/settings returns settings', async () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user