Fixed unit test

This commit is contained in:
mserranom 2020-04-01 17:03:52 +02:00
parent a7311ff5d3
commit 3a73c390fc

View file

@ -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()