Skip to content

Commit

Permalink
Updated tests to override the default callback URL
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan Walsh committed Mar 1, 2017
1 parent ccbb239 commit 5cf2235
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/accountingtests.js
Expand Up @@ -13,7 +13,7 @@ process.on('uncaughtException', function(err) {
var currentApp;
var organisationCountry = "";

var APPTYPE = "PUBLIC";
var APPTYPE = "PARTNER";
var privateConfigFile = "/Users/jordan.walsh/.xero/private_app_config.json";
var publicConfigFile = "/Users/jordan.walsh/.xero/public_app_config.json";
var partnerConfigFile = "/Users/jordan.walsh/.xero/partner_app_config.json";
Expand All @@ -35,7 +35,7 @@ describe('create application', function() {
break;
case "PARTNER":
configFile = partnerConfigFile;
currentApp = new xero.PartnerApplication(partnerConfigFile);
currentApp = new xero.PartnerApplication(partnerConfigFile, { authorizedCallbackUrl: "" });
break;
default:
throw "No App Type Set!!"
Expand Down

0 comments on commit 5cf2235

Please sign in to comment.