Skip to content

Instantly share code, notes, and snippets.

@sampottinger
Created August 21, 2013 15:52
Show Gist options
  • Save sampottinger/6296294 to your computer and use it in GitHub Desktop.
Save sampottinger/6296294 to your computer and use it in GitHub Desktop.
Manual test for account_manager.
var q = require('q');
var account_manager = require('./account_manager');
var testQuery = {
targetCollection: 'contributions',
params: {
minAmount: 1,
maxAmount: 5000
},
offset: 100,
resultLimit: 20
};
account_manager.updateAccountLog(
'[email protected]',
testQuery,
null
)
.then(
function (result) {console.log('success');},
function (err) {console.log(err);}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment