Bug 21722: Tidy up tests and increase coverage
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 13 Dec 2018 19:23:07 +0000 (19:23 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Mon, 4 Mar 2019 19:08:25 +0000 (19:08 +0000)
commit1fa46154d19cfb294bb36c3ca05b98bbe62f14d7
treeedf0a572e30ca3ea58d59775894b0f0b2363a1c4
parent62b4fbb9dd6b440630251fd6686bf7af83b6d5e2
Bug 21722: Tidy up tests and increase coverage

This patch moves the chargelostitem 'branchcode' test to within the
'chargelostitem' subtest block in t/db_dependent/Accounts.t. It also
adds tests for additional accountline fields that should be getting
set by this method and adds tests for ProcessingFeeNote before removing
t/db_dependent/Circulation/Chargelostitem.t which covered this
previously.

Sponsored-by: PTFS Europe
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
t/db_dependent/Accounts.t
t/db_dependent/Circulation/Chargelostitem.t [deleted file]