]> 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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 1 Feb 2021 15:21:25 +0000 (16:21 +0100)
commitecb6703d7a627060fc7e21a149e5226262c97e8d
treefed5600ac20839675a640d0a2e1c91a55b410aa8
parentb60ff6452ef2212a02f16ddc5c46edeb3d83a5e3
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>
t/db_dependent/Patrons.t