View | Details | Raw Unified | Return to bug 23230
Collapse All | Expand All

(-)a/t/db_dependent/Plugins.t (-1 / +2 lines)
Lines 290-295 subtest 'Test _version_compare' => sub { Link Here
290
290
291
    plan tests => 12;
291
    plan tests => 12;
292
292
293
    t::lib::Mocks::mock_config( 'enable_plugins', 1 );
294
293
    is( Koha::Plugins::Base::_version_compare( '1.1.1',    '2.2.2' ), -1, "1.1.1 is less then 2.2.2" );
295
    is( Koha::Plugins::Base::_version_compare( '1.1.1',    '2.2.2' ), -1, "1.1.1 is less then 2.2.2" );
294
    is( Koha::Plugins::Base::_version_compare( '2.2.2',    '1.1.1' ),  1, "1.1.1 is greater then 2.2.2" );
296
    is( Koha::Plugins::Base::_version_compare( '2.2.2',    '1.1.1' ),  1, "1.1.1 is greater then 2.2.2" );
295
    is( Koha::Plugins::Base::_version_compare( '1.1.1',    '1.1.1' ),  0, "1.1.1 is equal to 1.1.1" );
297
    is( Koha::Plugins::Base::_version_compare( '1.1.1',    '1.1.1' ),  0, "1.1.1 is equal to 1.1.1" );
296
- 

Return to bug 23230