mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-25 02:00:10 +02:00
Revert test changes for proxied headers when requesting pdfs from clsi
This commit is contained in:
@@ -137,12 +137,7 @@ describe "CompileController", ->
|
||||
statusCode: 204
|
||||
headers: { "mock": "header" }
|
||||
@req.method = "mock-method"
|
||||
@req.headers = {
|
||||
'Mock': 'Headers',
|
||||
'Range': 'should be passed - Range'
|
||||
'If-Range': 'should be passed - If-Range'
|
||||
'If-Modified-Since': 'should be passed - If-Modified-Since'
|
||||
}
|
||||
|
||||
|
||||
describe "user with standard priority", ->
|
||||
|
||||
@@ -157,11 +152,6 @@ describe "CompileController", ->
|
||||
method: @req.method
|
||||
url: "#{@settings.apis.clsi.url}#{@url}",
|
||||
timeout: 60 * 1000
|
||||
headers: {
|
||||
'Range': 'should be passed - Range'
|
||||
'If-Range': 'should be passed - If-Range'
|
||||
'If-Modified-Since': 'should be passed - If-Modified-Since'
|
||||
}
|
||||
)
|
||||
.should.equal true
|
||||
|
||||
@@ -185,11 +175,6 @@ describe "CompileController", ->
|
||||
method: @req.method
|
||||
url: "#{@settings.apis.clsi_priority.url}#{@url}",
|
||||
timeout: 60 * 1000
|
||||
headers: {
|
||||
'Range': 'should be passed - Range'
|
||||
'If-Range': 'should be passed - If-Range'
|
||||
'If-Modified-Since': 'should be passed - If-Modified-Since'
|
||||
}
|
||||
)
|
||||
.should.equal true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user