@@ -29,7 +29,7 @@ def testPropertyFromFile(self):
29
29
self .assertIsNotNone (transactionkey )
30
30
31
31
class test_TransactionReportingUnitTest (apitestbase .ApiTestBase ):
32
-
32
+
33
33
def testGetTransactionDetails (self ):
34
34
35
35
gettransactiondetailsrequest = apicontractsv1 .getTransactionDetailsRequest ()
@@ -39,7 +39,7 @@ def testGetTransactionDetails(self):
39
39
gettransactiondetailscontroller .execute ()
40
40
response = gettransactiondetailscontroller .getresponse ()
41
41
self .assertEquals ('Ok' , response .messages .resultCode )
42
-
42
+
43
43
class test_RecurringBillingTest (apitestbase .ApiTestBase ):
44
44
45
45
def testCreateSubscription (self ):
@@ -58,13 +58,13 @@ def testgetsubscription(self):
58
58
59
59
getSubscription = apicontractsv1 .ARBGetSubscriptionRequest ()
60
60
getSubscription .merchantAuthentication = self .merchantAuthentication
61
- getSubscription .subscriptionId = "2952220"
61
+ getSubscription .subscriptionId = "3044441" #update valid subscription id
62
62
getSubscriptionController = ARBGetSubscriptionController (getSubscription )
63
63
getSubscriptionController .execute ()
64
64
response = getSubscriptionController .getresponse ()
65
65
self .assertIsNotNone (response .subscription .name )
66
66
self .assertEquals ('Ok' , response .messages .resultCode )
67
-
67
+
68
68
def testcancelSubscription (self ):
69
69
70
70
cancelsubscriptionrequest = apicontractsv1 .ARBCancelSubscriptionRequest ()
@@ -75,6 +75,7 @@ def testcancelSubscription(self):
75
75
cancelsubscriptioncontroller .execute ()
76
76
response = cancelsubscriptioncontroller .getresponse ()
77
77
self .assertEquals ('Ok' , response .messages .resultCode )
78
+
78
79
79
80
class paymentTransactionUnitTest (apitestbase .ApiTestBase ):
80
81
0 commit comments