Bug 27554: Clarify and add tests for update_category_to
authorNick Clemens <nick@bywatersolutions.com>
Thu, 28 Jan 2021 13:58:14 +0000 (13:58 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 5 Feb 2021 15:37:15 +0000 (16:37 +0100)
commit1a71d411964897482be26c0760b3e2061d42ec57
tree6c07956daf22da35dc6600ad2c930f7b51da8c9e
parent606f47b2e91dcc51b1348356d672e95f8943ab8a
Bug 27554: Clarify and add tests for update_category_to

This patch adds a comment to the existing tests, clarifying what they test, and verifying the expected patron is affected. The
original test should be broken by 26307 when the behvaiour is prevented

I additionally add a test for 'too old'

To test:
1 - Apply patch
2 - Prove tests, they should pass
3 - Verify the comments make sense

Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
JD amended patch: behvaiour ==> behaviour
and add more info to the commit title

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit ecb6703d7a627060fc7e21a149e5226262c97e8d)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
t/db_dependent/Patrons.t