]> git.koha-community.org Git - koha.git/commit
Bug 19036: (follow-up) Test credits should be credits
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 20 Aug 2020 11:52:09 +0000 (12:52 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 21 Aug 2020 10:32:43 +0000 (12:32 +0200)
commit8d64d08c41d2bb8c52757936b265748fa1123085
tree87267077e8651a1016ab1c4e54027354211a961f
parent139e0a86ae415a47c645ed66bc491cfb33c353ec
Bug 19036: (follow-up) Test credits should be credits

A series of accountlines added to mock credits were being added with a
debit_type_code instead of a valid credit_type_code and so were being
mis-identified by the new credit numbering code trigger in the store
routine.

This patch updates the test to correctly identify the credits as credits

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
t/db_dependent/Koha/Account/Lines.t