mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
fix tests for pdf header passing
This commit is contained in:
parent
138170be60
commit
35b6abe79c
1 changed files with 3 additions and 1 deletions
|
@ -137,7 +137,7 @@ describe "CompileController", ->
|
|||
statusCode: 204
|
||||
headers: { "mock": "header" }
|
||||
@req.method = "mock-method"
|
||||
|
||||
@req.headers = { 'Mock': 'Headers' }
|
||||
|
||||
describe "user with standard priority", ->
|
||||
|
||||
|
@ -152,6 +152,7 @@ describe "CompileController", ->
|
|||
method: @req.method
|
||||
url: "#{@settings.apis.clsi.url}#{@url}",
|
||||
timeout: 60 * 1000
|
||||
headers: @req.headers
|
||||
)
|
||||
.should.equal true
|
||||
|
||||
|
@ -175,6 +176,7 @@ describe "CompileController", ->
|
|||
method: @req.method
|
||||
url: "#{@settings.apis.clsi_priority.url}#{@url}",
|
||||
timeout: 60 * 1000
|
||||
headers: @req.headers
|
||||
)
|
||||
.should.equal true
|
||||
|
||||
|
|
Loading…
Reference in a new issue