]> git.koha-community.org Git - koha.git/commit
Bug 14147: Add unit tests to C4::External::OverDrive
authorJulian FIOL <julian.fiol@biblibre.com>
Tue, 5 May 2015 10:26:49 +0000 (12:26 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Thu, 14 May 2015 14:11:58 +0000 (11:11 -0300)
commit64b6df43c9cfc867a2ca5e1bdc31d313451d9bb3
treeed2ae179188f488f420027f82c4d6956044ce420
parent31f60fd522e39b3f737cfcaee766bc778ae48a17
Bug 14147: Add unit tests to C4::External::OverDrive

This patch test 'IsOverDriveEnabled' subroutine

    TEST PLAN
    ---------
    1. Apply patch
    2. prove -v t/External/OverDrive.t
    -- All tests should run successfully without
    any error or warning

    TEST PLAN OPTIONAL
    ------------------

    Check with bug 13899 to see the coverage of this module.

    Coverage BEFORE this patch :
    Statement  :  47,5%
    Branch     :   0,0%
    Condition  :   0,0%
    Subroutine :  75,0%

    Coverage AFTER this patch :
    Statement  :  49,1%
    Branch     :   0,0%
    Condition  :  33,3%
    Subroutine :  83,3%

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Tests tun, no koha-qa errors

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
t/External/OverDrive.t [new file with mode: 0755]
t/External_Overdrive.t [deleted file]