Skip to content

Commit

Permalink
#603 updated tests to env.secureonly=true
Browse files Browse the repository at this point in the history
  • Loading branch information
itayw committed Oct 1, 2014
1 parent 6e0dbb8 commit b32b237
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/common.js
Expand Up @@ -17,6 +17,8 @@ global.common = exports;

process.env.NODE_ENV = 'test';
process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0"; //allow node-request to deal with Error: DEPTH_ZERO_SELF_SIGNED_CERT
process.env.JOOLA_CONFIG_INTERFACES_WEBSERVER_SECUREONLY = true;
process.env.JOOLA_CONFIG_AUTHENTICATION_BASICAUTH_ENABLED = true;

global.hook_stdout = function (callback) {
var old_write = process.stdout.write;
Expand Down

0 comments on commit b32b237

Please sign in to comment.