diff --git a/services/web/test/acceptance/coffee/TokenAccessTests.coffee b/services/web/test/acceptance/coffee/TokenAccessTests.coffee index d54f19d0eb..b0fbd7a0a1 100644 --- a/services/web/test/acceptance/coffee/TokenAccessTests.coffee +++ b/services/web/test/acceptance/coffee/TokenAccessTests.coffee @@ -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) diff --git a/services/web/test/acceptance/config/settings.test.coffee b/services/web/test/acceptance/config/settings.test.coffee index 4d1fcabe34..1ca1b55e48 100644 --- a/services/web/test/acceptance/config/settings.test.coffee +++ b/services/web/test/acceptance/config/settings.test.coffee @@ -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"