Bug 21788: Unit tests
authorTomas Cohen Arazi <tomascohen@theke.io>
Thu, 8 Nov 2018 15:31:59 +0000 (12:31 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 4 Jan 2019 03:13:38 +0000 (03:13 +0000)
commit4ef8bfee3f5da810738607498068ea719d533378
tree229ace3cfb3da10b01dc45d19a429fecf76ec7f3
parent5c313bc554a857da29f124957d58459c0ed4c03b
Bug 21788: Unit tests

This patch refactors the tests related to ProcessOfflinePayment and adds
checks for setting branchcode on the account line.

To test:
- Run:
  $ kshell
 k$ prove t/db_dependent/Circulation.t
=> FAIL: branchcode is not set

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
t/db_dependent/Circulation.t