Merge pull request #2746 from overleaf/ew-jpa-fix-deprecated-express-methods
[misc] fix express deprecations GitOrigin-RevId: 78c730578c6a671f142837c98f98d5fd260332a5
This commit is contained in:
@@ -267,7 +267,7 @@ describe('UserController', function() {
|
||||
|
||||
describe('unsubscribe', function() {
|
||||
it('should send the user to unsubscribe', function(done) {
|
||||
this.res.send = code => {
|
||||
this.res.sendStatus = () => {
|
||||
this.NewsLetterManager.unsubscribe
|
||||
.calledWith(this.user)
|
||||
.should.equal(true)
|
||||
|
||||
Reference in New Issue
Block a user