[Koha-bugs] [Bug 20766] New: KohaPlugins.t does not clean up

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon May 14 17:37:49 CEST 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20766

            Bug ID: 20766
           Summary: KohaPlugins.t does not clean up
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: Test Suite
          Assignee: chris at bigballofwax.co.nz
          Reporter: jonathan.druart at bugs.koha-community.org
        QA Contact: testopia at bugs.koha-community.org
        Depends on: 20181

The tests pass but the DB is altered if plugins exist:

prove t/Koha_Template_Plugin_KohaPlugins.t                                     
                                                     1 ↵ [12:36:11]
t/Koha_Template_Plugin_KohaPlugins.t .. 1/10 DBD::mysql::db do failed: Table
'koha_plugin_com_bywatersolutions_kitchensink_mytable' already exists [for
Statement "
        CREATE TABLE  koha_plugin_com_bywatersolutions_kitchensink_mytable (
            `borrowernumber` INT( 11 ) NOT NULL
        ) ENGINE = INNODB;
    "] at
/var/lib/koha/kohadev/plugins/Koha/Plugin/Com/ByWaterSolutions/KitchenSink.pm
line 303.
Plugin Koha::Plugin::Com::ByWaterSolutions::KitchenSink failed during
installation! at /home/vagrant/kohaclone/Koha/Plugins/Base.pm line 51.
t/Koha_Template_Plugin_KohaPlugins.t .. 7/10 DBD::mysql::db do failed: Table
'koha_plugin_com_bywatersolutions_kitchensink_mytable' already exists [for
Statement "
        CREATE TABLE  koha_plugin_com_bywatersolutions_kitchensink_mytable (
            `borrowernumber` INT( 11 ) NOT NULL
        ) ENGINE = INNODB;
    "] at
/var/lib/koha/kohadev/plugins/Koha/Plugin/Com/ByWaterSolutions/KitchenSink.pm
line 303.
Plugin Koha::Plugin::Com::ByWaterSolutions::KitchenSink failed during
installation! at /home/vagrant/kohaclone/Koha/Plugins/Base.pm line 51.
t/Koha_Template_Plugin_KohaPlugins.t .. ok


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20181
[Bug 20181] Allow plugins to add CSS and Javascript to OPAC
-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list