diff --git a/services/web/test/unit/src/User/UserUpdaterTests.js b/services/web/test/unit/src/User/UserUpdaterTests.js index 81cda51c7d..f207b69d32 100644 --- a/services/web/test/unit/src/User/UserUpdaterTests.js +++ b/services/web/test/unit/src/User/UserUpdaterTests.js @@ -380,9 +380,8 @@ describe('UserUpdater', function () { this.InstitutionsAPI.promises.removeAffiliation.calledOnce.should.equal( true ) - const { - args, - } = this.InstitutionsAPI.promises.removeAffiliation.lastCall + const { args } = + this.InstitutionsAPI.promises.removeAffiliation.lastCall args[0].should.equal(this.stubbedUser._id) args[1].should.equal(this.newEmail) done()