[Koha-bugs] [Bug 27554] Clarify and add tests for Koha::Patrons->update_category_to child to adult

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Jan 31 14:00:38 CET 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27554

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #115934|0                           |1
        is obsolete|                            |

--- Comment #9 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 116097
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=116097&action=edit
Bug 27554: Clarify and add tests

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 at biblibre.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list