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

--- Comment #7 from Tomás Cohen Arazi (tcohen) <[email protected]> ---
Created attachment 203465
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=203465&action=edit
Bug 43269: Use cache key constants in tests

Updates test files to reference cache key constants from the singular
classes instead of hardcoded strings:

- Koha::Library::CACHE_KEY_NAMES
- Koha::ClassSource::CACHE_KEY_DESCRIPTIONS
- Koha::AuthorisedValue::CACHE_KEY_PREFIX

Test plan:
1. Apply patches
2. Run:
   $ ktd --shell
   k$ prove t/db_dependent/Koha/Item.t
t/db_dependent/Koha/Filter/ExpandCodedFields.t
=> SUCCESS: Tests pass!
3. Sign off :-D

-- 
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