Skip to content

Commit

Permalink
fix: remove e2e test as roles are now public
Browse files Browse the repository at this point in the history
  • Loading branch information
beeman committed Nov 9, 2024
1 parent cf0357e commit 9c4a3f4
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions apps/api-e2e/src/api/api-role-user-feature.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,22 +153,6 @@ describe('api-role-feature', () => {
}
})

it('should not find a list of roles (find all)', async () => {
expect.assertions(1)
try {
await sdk.userFindManyRole(
{
input: {
communityId: defaultCommunityId,
},
},
{ cookie: bob },
)
} catch (e) {
expect(e.message).toBe('User bob is not a member of community pubkey')
}
})

it('should not find a role by id', async () => {
expect.assertions(1)
try {
Expand Down

0 comments on commit 9c4a3f4

Please sign in to comment.