Skip to content

Commit 189a5f1

Browse files
authored
Merge pull request #24 from snavinch/pr-test
Changes for commit #23
2 parents d82f2fd + 8abdc6c commit 189a5f1

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

RecurringBilling/get-list-of-subscriptions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ function getListOfSubscriptions(callback) {
6969
}
7070

7171
if (require.main === module) {
72-
getListOfSubscription(function(){
72+
getListOfSubscriptions(function(){
7373
console.log('getListOfSubscriptions call complete.');
7474
});
7575
}

test-runner.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,18 +92,18 @@ class TestRunner {
9292
}
9393

9494
createSubscriptionFromCustomerProfile(validateFunctionCallback){
95-
CustomerProfilesModule.createCustomerProfile(function(response){
95+
/* CustomerProfilesModule.createCustomerProfile(function(response){
9696
CustomerProfilesModule.createCustomerPaymentProfile(response.getCustomerProfileId(), function(paymentProfileResponse){
9797
CustomerProfilesModule.createCustomerShippingAddress(response.getCustomerProfileId(), function(shippingResponse){
98-
//RecurringBillingModule.createSubscriptionFromCustomerProfile(response.getCustomerProfileId(), paymentProfileResponse.getCustomerPaymentProfileId(), shippingResponse.getCustomerAddressId(), validateFunctionCallback);
98+
RecurringBillingModule.createSubscriptionFromCustomerProfile(response.getCustomerProfileId(), paymentProfileResponse.getCustomerPaymentProfileId(), shippingResponse.getCustomerAddressId(), validateFunctionCallback);
9999
});
100100
});
101-
});
102-
/*
101+
}); */
102+
103103
CustomerProfilesModule.getCustomerProfile("41003872", function(profileResponse) {
104104
RecurringBillingModule.createSubscriptionFromCustomerProfile(profileResponse.profile.customerProfileId, profileResponse.profile.paymentProfiles[0].customerPaymentProfileId, profileResponse.profile.shipToList[0].customerAddressId, validateFunctionCallback);
105105
});
106-
*/
106+
107107
}
108108

109109
createSubscription(validateFunctionCallback){

0 commit comments

Comments
 (0)