[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
Tue Jun 15 13:11:48 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28565
David Nind <david at davidnind.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #121939|0 |1
is obsolete| |
--- Comment #4 from David Nind <david at davidnind.com> ---
Created attachment 121987
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=121987&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
Signed-off-by: David Nind <david at davidnind.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list