Compare commits

...

2 Commits

Author SHA1 Message Date
Salim 4f502195ad remove only 2019-04-24 20:15:58 -07:00
Salim dd5b221c0b drop; test 2120 consoles 2019-04-24 20:04:22 -07:00
2 changed files with 3 additions and 0 deletions

View File

@ -268,6 +268,8 @@ class WebsiteConfigTester {
* @return {undefined} * @return {undefined}
*/ */
static checkHTML(params, callback) { static checkHTML(params, callback) {
const util = require('util');
console.log(`\n-------PARAMS IN CHECK HTML??? ${util.inspect(params, false, null)}`);
const { method, responseType, auth, url, redirectUrl } = params; const { method, responseType, auth, url, redirectUrl } = params;
_makeWebsiteRequest(auth, method, url, (err, res) => { _makeWebsiteRequest(auth, method, url, (err, res) => {
assert.strictEqual(err, null, `Unexpected request err ${err}`); assert.strictEqual(err, null, `Unexpected request err ${err}`);

View File

@ -471,6 +471,7 @@ describe('User visits bucket website endpoint', () => {
it('should serve redirect file if error 403 error occured', it('should serve redirect file if error 403 error occured',
done => { done => {
console.log(`\n--------THIS IS THE TEST------------\n`);
WebsiteConfigTester.checkHTML({ WebsiteConfigTester.checkHTML({
method: 'GET', method: 'GET',
url: endpoint, url: endpoint,