From 9fa0e81afab0f25bda9724a22d761bc0d0e882d7 Mon Sep 17 00:00:00 2001 From: Slim Date: Mon, 18 Feb 2019 22:46:41 -0500 Subject: [PATCH] Fixed typos --- README.md | 2 +- test/idp.spec.ts | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e50d8175..4486860c 100644 --- a/README.md +++ b/README.md @@ -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}`) diff --git a/test/idp.spec.ts b/test/idp.spec.ts index 92fd8f33..42112806 100644 --- a/test/idp.spec.ts +++ b/test/idp.spec.ts @@ -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, @@ -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; });