Bug 16866

Summary: Catch warning t/db_dependent/Languages.t
Product: Koha Reporter: Mark Tompsett <mtompset>
Component: Test SuiteAssignee: Mark Tompsett <mtompset>
Status: CLOSED FIXED QA Contact: Galen Charlton <gmcharlt>
Severity: enhancement    
Priority: P5 - low CC: f.demians, hector.hecaxmmx, julian.maurice, kyle
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Bug 16866: Catch warning t/db_dependent/Languages.t
[SIGNED-OFF]Bug 16866: Catch warning t/db_dependent/Languages.t
Bug 16866: Catch warning t/db_dependent/Languages.t

Description Mark Tompsett 2016-07-06 19:19:48 UTC
The C4::Languages::accept_language() call triggers a warning, which is uncaught. Catch it as a new test, so the output is cleaner.
Comment 1 Mark Tompsett 2016-07-06 19:22:04 UTC Comment hidden (obsolete)
Comment 2 Héctor Eduardo Castro Avalos 2016-07-07 13:48:40 UTC Comment hidden (obsolete)
Comment 3 Jonathan Druart 2016-07-07 15:50:36 UTC
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>
Comment 4 Kyle M Hall (khall) 2016-07-08 14:51:02 UTC
Pushed to master for 16.11, thanks Mark!
Comment 5 Frédéric Demians 2016-08-01 13:36:41 UTC
Pushed in 16.05. Will be in 16.05.02.
Comment 6 Julian Maurice 2016-08-17 08:43:34 UTC
Patches pushed to 3.22.x, will be in 3.22.10