[Bug 15599] Unit tests output warnings
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15599 --- Comment #9 from Kyle M Hall <kyle@bywatersolutions.com> --- (In reply to M. Tompsett from comment #8)
(In reply to Jonathan Druart from comment #7)
Kyle, the warnings appear for many other tests, see t/db_dependent/Reserves.t for instance. I don't think this is a right way to fix it.
Perhaps not overall, however, taking "string $foo->bar" and turning it to "string $foobar" is a start. Catching warnings is a good test. Perhaps "$debug and" prepended to the {warn mess} would be fitting, and still allow for the testing added?
I'm open to whatever solution may be proposed. This is starting to go out of scope. The bug is for just two unit tests. I think the $debug and warn idea sounds good! We could have it set to 1 by default and set it to 0 in our unit tests. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org