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)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Mon, 8 Feb 2021 20:33:41 +0000 (20:33 +0000)
commit1a5fdef579a053ed8434c3d9eff6ce579423ee5f
tree775a8ae8c38f118c2573f37eea8c70cf35fb6b81
parent53811a1700f9e7083e24ab65f5b7291a2fa090be
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>
(cherry picked from commit 1a71d411964897482be26c0760b3e2061d42ec57)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
t/db_dependent/Patrons.t