Skip to content

Commit 3a46ab7

Browse files
committed
Merge pull request AuthorizeNet#23 from krgupta1/master
modified id
2 parents 219cab5 + 25459cc commit 3a46ab7

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

tests/testssample.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def testPropertyFromFile(self):
2929
self.assertIsNotNone(transactionkey)
3030

3131
class test_TransactionReportingUnitTest(apitestbase.ApiTestBase):
32-
32+
3333
def testGetTransactionDetails(self):
3434

3535
gettransactiondetailsrequest = apicontractsv1.getTransactionDetailsRequest()
@@ -39,7 +39,7 @@ def testGetTransactionDetails(self):
3939
gettransactiondetailscontroller.execute()
4040
response = gettransactiondetailscontroller.getresponse()
4141
self.assertEquals('Ok', response.messages.resultCode)
42-
42+
4343
class test_RecurringBillingTest(apitestbase.ApiTestBase):
4444

4545
def testCreateSubscription(self):
@@ -58,13 +58,13 @@ def testgetsubscription(self):
5858

5959
getSubscription = apicontractsv1.ARBGetSubscriptionRequest()
6060
getSubscription.merchantAuthentication = self.merchantAuthentication
61-
getSubscription.subscriptionId = "2952220"
61+
getSubscription.subscriptionId = "3044441" #update valid subscription id
6262
getSubscriptionController = ARBGetSubscriptionController(getSubscription)
6363
getSubscriptionController.execute()
6464
response = getSubscriptionController.getresponse()
6565
self.assertIsNotNone(response.subscription.name)
6666
self.assertEquals('Ok', response.messages.resultCode)
67-
67+
6868
def testcancelSubscription(self):
6969

7070
cancelsubscriptionrequest = apicontractsv1.ARBCancelSubscriptionRequest()
@@ -75,6 +75,7 @@ def testcancelSubscription(self):
7575
cancelsubscriptioncontroller.execute()
7676
response = cancelsubscriptioncontroller.getresponse()
7777
self.assertEquals('Ok', response.messages.resultCode)
78+
7879

7980
class paymentTransactionUnitTest(apitestbase.ApiTestBase):
8081

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy