]> git.koha-community.org Git - koha.git/commit
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)
committerVictor Grousset/tuxayo <victor@tuxayo.net>
Wed, 10 Feb 2021 23:10:46 +0000 (00:10 +0100)
commit4f4cddebd748019fd1345c3f41c3ea507423a7b8
treeab338d94331b05eaef5f0d3b72b11fdd6c4e6ea3
parent1301051e3ead93944bcdda56e95e2ccc6dad9cf4
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>
(cherry picked from commit 1a5fdef579a053ed8434c3d9eff6ce579423ee5f)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
t/db_dependent/Patrons.t