]> git.koha-community.org Git - koha.git/commit
Bug 31889: (follow-up) Add test for explicit warning
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 7 Nov 2022 11:29:15 +0000 (08:29 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 7 Nov 2022 11:29:22 +0000 (08:29 -0300)
commitcf5e73033cdd7c41478320b4b213efd94cae626f
tree10c3e51f35a05339cde5dacc5e50eb4446cf9ffa
parentb1f3042922a21a90eaf504df7a0c5c03fa33845b
Bug 31889: (follow-up) Add test for explicit warning

On bug 29697, an explicit call to 'warn' was added, but no tests were
added for that behavior.

This patch adds that.

To test:

1. Run:
   $ kshell
  k$ prove t/db_dependent/Koha/Biblio/Metadata.t
=> FAIL: There's a warn, no tests for it :-(
2. Apply this patch
3. Repeat 1
=> SUCCESS: A new test was added, no more warns printed
4. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
t/db_dependent/Koha/Biblio/Metadata.t