test bill payment
authorJason Etheridge <jason@esilibrary.com>
Fri, 2 Aug 2013 19:25:58 +0000 (15:25 -0400)
committerJason Etheridge <jason@esilibrary.com>
Fri, 2 Aug 2013 19:25:58 +0000 (15:25 -0400)
commite7748bde6502f6c8ad9bc228b432db751cd85274
tree0e6300694456c667eba33300126703114bd3789a
parent6ab180217258d0d9bdb27a9317aaca76eeecf4e8
test bill payment

./05-pay_bills.t ..................
1..10
 # Test bill payment against the admin user.
ok 1 - open-ils.storage.direct.actor.user.retrieve returned aou object
ok 2 - User with id = 1 is admin user
 # authtime is 7200, authtoken is b039320a72bbd06c30f0918d1aeeb07a
ok 3 - Have an authtoken
ok 4 - Registered a new workstation
 # authtime is 7200, authtoken is b039320a72bbd06c30f0918d1aeeb07a
ok 5 - Have an authtoken associated with the workstation
ok 6 - Two billable xacts for admin user from previous tests
ok 7 - Both transactions combined have a balance owed of 1.25
ok 8 - Payment attempt returned HASH
ok 9 - Payment response included two payment ids
ok 10 - Zero billable xacts for admin user after payment
ok

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Open-ILS/src/perlmods/live_t/05-pay_bills.t [new file with mode: 0644]