From 89113445f5d566a99d656b4f8260dbb76da3edee Mon Sep 17 00:00:00 2001 From: Vesa Meskanen Date: Mon, 2 Dec 2024 08:30:28 +0200 Subject: [PATCH] Update tests --- test.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test.js b/test.js index d6dd8b3..b42db6b 100644 --- a/test.js +++ b/test.js @@ -237,9 +237,9 @@ describe('waltti ui', function() { walttiCities.forEach(function(city) { testRedirect('next-dev-'+city+'.digitransit.fi','/kissa','https://next-dev-'+city+'.digitransit.fi/kissa'); - testProxying('next-dev-'+city+'.digitransit.fi','/','digitransit-ui-waltti-v3:8080', true); + testProxying('next-dev-'+city+'.digitransit.fi','/','digitransit-ui-waltti-test:8080', true); testRedirect('next-dev-'+city+'.digitransit.fi','/kissa','https://next-dev-'+city+'.digitransit.fi/kissa'); - testProxying('next-dev-'+city+'.digitransit.fi','/','digitransit-ui-waltti-v3:8080', true); + testProxying('next-dev-'+city+'.digitransit.fi','/','digitransit-ui-waltti-test:8080', true); testRedirect(city+'.digitransit.fi','/kissa','https://'+city+'.digitransit.fi/kissa'); testProxying(city+'.digitransit.fi','/','digitransit-ui-waltti-v3:8080', true); }); @@ -273,7 +273,7 @@ describe('waltti ui', function() { testRedirect('dev-raasepori.digitransit.fi','/kissa','https://dev-raasepori.digitransit.fi/kissa'); testProxying('dev-raasepori.digitransit.fi','/','digitransit-ui-waltti-v3:8080', true); testRedirect('next-dev-raasepori.digitransit.fi','/kissa','https://next-dev-raasepori.digitransit.fi/kissa'); - testProxying('next-dev-raasepori.digitransit.fi','/','digitransit-ui-waltti-v3:8080', true); + testProxying('next-dev-raasepori.digitransit.fi','/','digitransit-ui-waltti-test:8080', true); testRedirect('bosse.digitransit.fi','/kissa','https://bosse.digitransit.fi/kissa'); testProxying('bosse.digitransit.fi','/','digitransit-ui-waltti-v3:8080', true); @@ -314,4 +314,4 @@ describe('ext-proxy', function() { describe('waltti-test ui', function() { testCallingWithoutCredentials('waltti-test.digitransit.fi','/kissa','https://waltti-test.digitransit.fi/kissa'); testWithCorrectCredentials('waltti-test.digitransit.fi','/kissa', 'test', 'test', 'https://waltti-test.digitransit.fi/kissa', true); -}); \ No newline at end of file +});