]> git.evergreen-ils.org Git - Evergreen.git/commit
test bill payment
authorJason Etheridge <jason@esilibrary.com>
Fri, 2 Aug 2013 19:25:58 +0000 (15:25 -0400)
committerBill Erickson <berick@esilibrary.com>
Thu, 10 Oct 2013 18:49:33 +0000 (14:49 -0400)
commit5c883f0dc891cb5c377e2105cca4923081bda1a1
tree418334ffe04c3387613c5ab9adf34ca0d4dd6e9e
parent310a0d54be9bf141141d0a8647f0af9c8f3120ca
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>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/src/perlmods/live_t/05-pay_bills.t [new file with mode: 0644]