mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-28 19:41:33 +02:00
Add test for location of redirect to v1
This commit is contained in:
@@ -421,4 +421,7 @@ describe 'TokenAccess', ->
|
||||
unimportedV1Token = '123abc'
|
||||
try_read_and_write_token_access(@owner, unimportedV1Token, (response, body) =>
|
||||
expect(response.statusCode).to.equal 302
|
||||
expect(response.headers.location).to.equal(
|
||||
'http://overleaf.test:5000/123abc'
|
||||
)
|
||||
, done)
|
||||
|
||||
@@ -107,4 +107,4 @@ module.exports =
|
||||
'/proxy/missing/baseUrl': path: '/foo/bar'
|
||||
|
||||
overleaf:
|
||||
host: "http://#{process.env['V1_HOST']}:5000"
|
||||
host: "http://overleaf.test:5000"
|
||||
|
||||
Reference in New Issue
Block a user