Ignore:
Timestamp:
11 Jun 2020, 09:47:30 (4 years ago)
Author:
Henrik Bettermann
Message:

Adjust tests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/interswitch/tests.py

    r15755 r16115  
    168168        payment.amount_auth = 60250.0
    169169        success, msg, log = query_interswitch(
    170             payment, product_id, host, url, https, mac)
    171         self.assertEqual('Successful callback received', msg)
     170            payment, product_id, host, url, https, mac, False)
     171        self.assertEqual('Successful callback received.', msg)
    172172        self.assertTrue(success)
    173173        self.assertTrue(
     
    186186        payment.amount_auth = 1.0
    187187        success, msg, log = query_interswitch(
    188             payment, product_id, host, url, https, mac)
     188            payment, product_id, host, url, https, mac, False)
    189189        self.assertFalse(success)
    190190        self.assertTrue('Unsuccessful callback:' in msg)
     
    192192        payment.amount_auth = 60250.0
    193193        success, msg, log = query_interswitch(
    194             payment, product_id, host, url, https, mac)
     194            payment, product_id, host, url, https, mac, False)
    195195        self.assertEqual('Successful callback received', msg)
    196196        self.assertTrue(success)
Note: See TracChangeset for help on using the changeset viewer.