mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-22 14:48:27 +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,
|
||||
}),
|
||||
)
|
||||
expect(mockGetTeamMembers).toHaveBeenCalledWith({ teamId: 't1', includeAgents: false })
|
||||
expect(mockGetTeamMembers).toHaveBeenCalledWith({
|
||||
teamId: 't1',
|
||||
userId: 'user1',
|
||||
includeAgents: false,
|
||||
})
|
||||
})
|
||||
|
||||
it('GET /teams/:teamId/settings returns settings', async () => {
|
||||
|
||||
Reference in New Issue
Block a user