[Koha-bugs] [Bug 14113] Silence warnings t/Date.t

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed May 6 22:01:25 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14113

Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #38754|0                           |1
        is obsolete|                            |

--- Comment #2 from Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> ---
Created attachment 38904
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=38904&action=edit
[SIGNED-OFF] Bug 14113: Silence t/Dates.t warnings and cleanup output.

The expectation of a user not freaking out over 'Illegal date'
messages is not sensible. Catch the messages, give a nicer
message.

Also, compress the veritical spacing on the output.

TEST PLAN
---------
1) $ prove t/Dates.t
   -- notice Illegal date messages, and extra lines between
      some sectional messages.
2) Apply patch
3) $ prove t/Dates.t
   -- Notice how nice and clean it is?
      Try it with -v to see all the warnings, including the
      expected warning type messages.
4) run koha qa test tools.

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Tests run, cleaner output, no koha-qa errors

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


More information about the Koha-bugs mailing list