The C4::Languages::accept_language() call triggers a warning, which is uncaught. Catch it as a new test, so the output is cleaner.
Created attachment 53153 [details] [review] Bug 16866: Catch warning t/db_dependent/Languages.t TEST PLAN --------- 1) prove t/db_dependent/Languages.t -- noisy output 2) apply patch 3) prove t/db_dependent/Languages.t -- no noise 4) run koha qa test tools.
Created attachment 53166 [details] [review] [SIGNED-OFF]Bug 16866: Catch warning t/db_dependent/Languages.t TEST PLAN --------- 1) prove t/db_dependent/Languages.t -- noisy output 2) apply patch 3) prove t/db_dependent/Languages.t -- no noise 4) run koha qa test tools. Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com> No noisy output
Created attachment 53185 [details] [review] Bug 16866: Catch warning t/db_dependent/Languages.t TEST PLAN --------- 1) prove t/db_dependent/Languages.t -- noisy output 2) apply patch 3) prove t/db_dependent/Languages.t -- no noise 4) run koha qa test tools. Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com> No noisy output Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Pushed to master for 16.11, thanks Mark!
Pushed in 16.05. Will be in 16.05.02.
Patches pushed to 3.22.x, will be in 3.22.10