mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-04 06:39:02 +02:00
Fixed unit test
This commit is contained in:
@@ -119,7 +119,7 @@ describe('Notifications Tests', function() {
|
||||
sinon.assert.calledWith(
|
||||
this.updateStub,
|
||||
this.expectedQuery,
|
||||
this.expectedDocument,
|
||||
{ $set: this.expectedDocument },
|
||||
{ upsert: true }
|
||||
)
|
||||
return done()
|
||||
@@ -154,7 +154,7 @@ describe('Notifications Tests', function() {
|
||||
sinon.assert.calledWith(
|
||||
this.updateStub,
|
||||
this.expectedQuery,
|
||||
this.expectedDocument,
|
||||
{ $set: this.expectedDocument },
|
||||
{ upsert: true }
|
||||
)
|
||||
return done()
|
||||
@@ -194,7 +194,7 @@ describe('Notifications Tests', function() {
|
||||
sinon.assert.calledWith(
|
||||
this.updateStub,
|
||||
this.expectedQuery,
|
||||
this.expectedDocument,
|
||||
{ $set: this.expectedDocument },
|
||||
{ upsert: true }
|
||||
)
|
||||
return done()
|
||||
|
||||
Reference in New Issue
Block a user