Skip to content

Commit 25459cc

Browse files
author
krgupta
committed
modified id
1 parent 73e1958 commit 25459cc

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)