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

--- Comment #229 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 211252
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211252&action=edit
Bug 42625: Add tests for RecordSource->library_groups

Cover Koha::RecordSource->library_groups: reading the linked groups,
replacing them, clearing them, the link going away when its group is
deleted, and refusing groups that are not flagged for record source
editing, that are not top level, or that do not exist.

To test:
1. Apply the patches, then run updatedatabase.pl
2. Run: prove t/db_dependent/Koha/RecordSource.t
=> SUCCESS: Tests pass

Signed-off-by: Brendan Lawlor <[email protected]>
Sponsored-by: CLAMS
Signed-off-by: Andrew Fuerste Henry <[email protected]>
Signed-off-by: Martin Renvoize <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to