refactor SAMLController to use async throughout

GitOrigin-RevId: dafd76042f460cd34596c8c9023e2378145105e8
This commit is contained in:
Ersun Warncke
2020-08-10 15:54:15 +00:00
committed by Copybot
parent 558854f51b
commit 88683e9fec
4 changed files with 8 additions and 30 deletions
@@ -9,8 +9,7 @@ describe('SAMLIdentityManager', function() {
this.Errors = {
EmailExistsError: sinon.stub(),
NotFoundError: sinon.stub(),
SAMLIdentityExistsError: sinon.stub(),
SAMLUserNotFoundError: sinon.stub()
SAMLIdentityExistsError: sinon.stub()
}
this.user = {
_id: 'user-id-1',