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

--- Comment #2 from Tomás Cohen Arazi <[email protected]> ---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to