Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Commit

Permalink
Fixed typos
Browse files Browse the repository at this point in the history
  • Loading branch information
slimovic committed Feb 19, 2019
1 parent 37f1afe commit 9fa0e81
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ Demo code: https://github.com/keycloak/keycloak-nodejs-admin-client/blob/master/
- Get the identity provider (`GET /{realm}/identity-provider/instances/{alias}`)
- Update the identity provider (`PUT /{realm}/identity-provider/instances/{alias}`)
- Delete the identity provider (`DELETE /{realm}/identity-provider/instances/{alias}`)
- Find identity provider factory (`GET /{realm}/identity-provider//providers/{providerId}`)
- Find identity provider factory (`GET /{realm}/identity-provider/providers/{providerId}`)
- Create a new identity provider mapper (`POST /{realm}/identity-provider/instances/{alias}/mappers`)
- Get identity provider mappers (`GET /{realm}/identity-provider/instances/{alias}/mappers`)
- Get the identity provider mapper (`GET /{realm}/identity-provider/instances/{alias}/mappers/{id}`)
Expand Down
6 changes: 4 additions & 2 deletions test/idp.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ describe('Identity providers', function() {
id: idpMapperId,
},
);

// check idp mapper deleted
expect(idpMapperUpdated).to.be.null;

await this.kcAdminClient.identityProviders.del({
alias: this.currentIdpAlias,
Expand All @@ -65,8 +68,7 @@ describe('Identity providers', function() {
alias: this.currentIdpAlias,
});

// check idp and idp mapper deleted
expect(idp).to.be.null;
// check idp deleted
expect(idp).to.be.null;
});

Expand Down

0 comments on commit 9fa0e81

Please sign in to comment.