Fix UserGetter email retrieval with affiliations disabled (#2085)
GitOrigin-RevId: f868333f3c18f674b7ba9c387315c2d5ad1fd80b
This commit is contained in:
committed by
sharelatex
parent
8c55989166
commit
9a8a182c1b
@@ -63,6 +63,9 @@ describe('UserGetter', function() {
|
||||
'../Institutions/InstitutionsAPI': {
|
||||
getUserAffiliations: this.getUserAffiliations
|
||||
},
|
||||
'../../infrastructure/Features': {
|
||||
hasFeature: sinon.stub().returns(true)
|
||||
},
|
||||
'../Errors/Errors': Errors
|
||||
}
|
||||
}))
|
||||
|
||||
Reference in New Issue
Block a user