[Koha-bugs] [Bug 28565] Adding a new syspref for sharing through HEA should be simpler

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jun 14 22:48:18 CEST 2021


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

--- Comment #2 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 121939
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=121939&action=edit
Bug 28565: Simplify tests

This patch makes the tests for UsageStats. This way the tests don't need
to be adjusted everytime a syspref is added.

To test:
1. Apply the first patch
2. Add some random syspref to C4::UsageStats
3. Run:
   $ kshell
  k$ prove t/db_dependent/UsageStats.t
=> FAIL: Things explode
4. Apply this patch
5. Repeat 3
=> SUCCESS: It doesn't explode anymore!
6. Sign off :-D

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


More information about the Koha-bugs mailing list