Skip to content

Commit

Permalink
Change user-specific config paths
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbanham committed Mar 7, 2017
1 parent 642ad9b commit 6b56e2b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion sample_app/sample_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var express = require('express'),
LRU = require('lru-cache'),
fs = require('fs'),
nodemailer = require('nodemailer'),
publicConfigFile = "/Users/jordan.walsh/.xero/public_app_config.json";
publicConfigFile = "../public_app_config.json";

function getXeroApp(session) {
var config = {
Expand Down
6 changes: 3 additions & 3 deletions test/accountingtests.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ var currentApp;
var organisationCountry = "";

var APPTYPE = "PRIVATE";
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";
var privateConfigFile = "../private_app_config.json";
var publicConfigFile = "../public_app_config.json";
var partnerConfigFile = "../partner_app_config.json";
var configFile = "";

describe('create application', function() {
Expand Down

0 comments on commit 6b56e2b

Please sign in to comment.