diff --git a/test/idp.spec.ts b/test/idp.spec.ts index 42112806..331faafa 100644 --- a/test/idp.spec.ts +++ b/test/idp.spec.ts @@ -56,8 +56,8 @@ describe('Identity providers', function() { id: idpMapperId, }, ); - - // check idp mapper deleted + + // check idp mapper deleted expect(idpMapperUpdated).to.be.null; await this.kcAdminClient.identityProviders.del({ diff --git a/test/users.spec.ts b/test/users.spec.ts index 0bd6f686..9d260bb2 100644 --- a/test/users.spec.ts +++ b/test/users.spec.ts @@ -225,9 +225,7 @@ describe('Users', function() { id: this.currentUser.id, }); // currentRole will have an empty `attributes`, but role-mappings do not - expect(roles).to.deep.include( - omit(this.currentRole, 'attributes') - ); + expect(roles).to.deep.include(omit(this.currentRole, 'attributes')); }); it('del realm role-mappings from user', async () => { @@ -385,9 +383,11 @@ describe('Users', function() { }); it('should list user\'s federated identities and expect empty', async () => { - const federatedIdentities = await this.kcAdminClient.users.listFederatedIdentities({ - id: this.currentUser.id, - }); + const federatedIdentities = await this.kcAdminClient.users.listFederatedIdentities( + { + id: this.currentUser.id, + }, + ); expect(federatedIdentities).to.be.eql([]); }); @@ -412,11 +412,12 @@ describe('Users', function() { federatedIdentityId: 'foobar', }); - const federatedIdentities = await this.kcAdminClient.users.listFederatedIdentities({ - id: this.currentUser.id, - }); + const federatedIdentities = await this.kcAdminClient.users.listFederatedIdentities( + { + id: this.currentUser.id, + }, + ); expect(federatedIdentities).to.be.eql([]); }); }); - });