Created
August 21, 2013 15:52
-
-
Save sampottinger/6296294 to your computer and use it in GitHub Desktop.
Manual test for account_manager.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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