mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
Update markAsReadByKeyOnly url.
This commit is contained in:
@@ -77,7 +77,7 @@ describe 'NotificationsHandler', ->
|
||||
it 'should send a delete request when a delete has been received to mark a notification', (done)->
|
||||
@handler.markAsReadByKeyOnly @key, =>
|
||||
opts =
|
||||
uri: "#{notificationUrl}/notification/key/#{@key}"
|
||||
uri: "#{notificationUrl}/key/#{@key}"
|
||||
timeout:1000
|
||||
method: "DELETE"
|
||||
@request.calledWith(opts).should.equal true
|
||||
|
||||
Reference in New Issue
Block a user