Skip to content

Commit

Permalink
remove waltti-test auth
Browse files Browse the repository at this point in the history
  • Loading branch information
sharhio committed Jan 7, 2025
1 parent c203a7b commit a4a7c3c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -568,8 +568,8 @@ http {
location / {
proxy_pass http://digitransit-ui-waltti-test:8080;
include basicsettings.conf;
auth_basic "waltti-test.digitransit.fi";
auth_basic_user_file .htpasswd;
# auth_basic "waltti-test.digitransit.fi";
# auth_basic_user_file .htpasswd;
}
}

Expand Down
6 changes: 4 additions & 2 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,8 @@ 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);
// 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);
testRedirect('waltti-test.digitransit.fi','/kissa','https://waltti-test.digitransit.fi/kissa');
testProxying('waltti-test.digitransit.fi','/','digitransit-ui-waltti-test:8080', true);
});

0 comments on commit a4a7c3c

Please sign in to comment.