]> git.koha-community.org Git - koha.git/commit
Bug 19204: Clean the tests a bit to reuse the same pattern
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 23 Apr 2018 21:12:00 +0000 (18:12 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 25 Apr 2018 13:52:21 +0000 (10:52 -0300)
commite1676955f71bfd7d2fedbe52956e5e03a975a8c7
treed6ccef0ee477d68734ce196f4828b6d0baaf8fcf
parent8d3eba6a297f4fd993ddf237b6cd66cfda38ff95
Bug 19204: Clean the tests a bit to reuse the same pattern

The same pattern is used several times in test:
checkout, checkin, get the debarment, compare the dates and remove the
debarment.
Let's move that to a separate subroutine

Sponsored-by: Goethe-Institut
Signed-off-by: Claire Gravely <claire.gravely@bsz-bw.de>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
t/db_dependent/Circulation.t