mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-05 07:09:02 +02:00
Merge pull request #14696 from overleaf/jpa-lean-mongo-queries
[web] use lean mongo queries GitOrigin-RevId: 5c9e2cddb2c45835dd9bb87c31b6e9d2b91873fd
This commit is contained in:
@@ -38,10 +38,10 @@ describe('UserController', function () {
|
||||
|
||||
this.UserDeleter = { deleteUser: sinon.stub().yields() }
|
||||
this.UserGetter = {
|
||||
getUser: sinon.stub().callsArgWith(1, null, this.user),
|
||||
getUser: sinon.stub().yields(null, this.user),
|
||||
promises: { getUser: sinon.stub().resolves(this.user) },
|
||||
}
|
||||
this.User = { findById: sinon.stub().callsArgWith(1, null, this.user) }
|
||||
this.User = { findById: sinon.stub().yields(null, this.user) }
|
||||
this.NewsLetterManager = {
|
||||
subscribe: sinon.stub().yields(),
|
||||
unsubscribe: sinon.stub().yields(),
|
||||
|
||||
Reference in New Issue
Block a user