Skip to content

Commit

Permalink
remove unneeded integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
shuowu committed Apr 6, 2022
1 parent 5553078 commit 69ffbb3
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions test/integration/spec/myaccount/sendRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,19 +53,6 @@ describe('lower level sendRequest function against "/idp/myaccount/emails" endpo
}
});

it('throw with 401 when no token is provided', async () => {
const client = createClient({});
try {
await sendRequest(client, {
url: '/idp/myaccount/emails',
method: 'GET',
accessToken: undefined
});
} catch (err) {
expect((err as AuthApiError).xhr?.status).toBe(401);
}
});

it('throws 403 when okta.myAccount.email.read no in token scopes', async () => {
const client = createClient({});
const scopes = ['openid', 'profile'];
Expand Down

0 comments on commit 69ffbb3

Please sign in to comment.