mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-01 13:21:37 +02:00
Merge pull request #6317 from overleaf/jpa-send-explicit-content-type
[web] send explicit content type in responses GitOrigin-RevId: d5aeaba57a7d2fc053fbf5adc2299fb46e435341
This commit is contained in:
@@ -45,7 +45,7 @@ describe('NotificationsController', function () {
|
||||
.stub()
|
||||
.callsArgWith(1, null, allNotifications)
|
||||
this.controller.getAllUnreadNotifications(this.req, {
|
||||
send: body => {
|
||||
json: body => {
|
||||
body.should.deep.equal(allNotifications)
|
||||
this.handler.getUserNotifications.calledWith(userId).should.equal(true)
|
||||
done()
|
||||
|
||||
Reference in New Issue
Block a user