Created attachment 24254 [details] [review] Proposed Patch
Created attachment 24260 [details] [review] bug 11545 Increasing test coverage for Languages.pm To test 1. Run prove t/Languages.t Apply patch 2. Run prove t/Languages.t Notice: More tests are run Signed-off-by: alex_h <dhorsman@xtra.co.nz>
Created attachment 24298 [details] [review] [SIGNED-OFF] bug 11545 Increasing test coverage for Languages.pm To test 1. Run prove t/Languages.t Apply patch 2. Run prove t/Languages.t Notice: More tests are run Signed-off-by: alex_h <dhorsman@xtra.co.nz> Signed-off-by: Magnus Enger <magnus@enger.priv.no> Adds another passing test. I took th liberty of moving the test plan from the subject to the commit message. :-)
Created attachment 24308 [details] [review] [PASSED QA] bug 11545 Increasing test coverage for Languages.pm To test 1. Run prove t/Languages.t Apply patch 2. Run prove t/Languages.t Notice: More tests are run Signed-off-by: alex_h <dhorsman@xtra.co.nz> Signed-off-by: Magnus Enger <magnus@enger.priv.no> Adds another passing test. I took th liberty of moving the test plan from the subject to the commit message. :-) Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> Tests pass :)
Pushed to master, along with a follow-up that moves Languages.t to t/db_dependent. That signals that the test script requires that there be a Koha database to connect to, as is required in order to test getAllLanguages(). Congratulations on having your first patch accepted into Koha, Merllissia!