Bug 23230: (follow-up) Fix broken tests
Before patch, the new tests don't run. After patch, they do. Signed-off-by: Mark Tompsett <mtompset@hotmail.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> (cherry picked from commit288cc50555) Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com> (cherry picked from commitaf7c25d249) Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
bf8f38ebce
commit
7665edd38f
|
|
@ -186,6 +186,8 @@ subtest 'Test _version_compare' => sub {
|
|||
|
||||
plan tests => 12;
|
||||
|
||||
t::lib::Mocks::mock_config( 'enable_plugins', 1 );
|
||||
|
||||
is( Koha::Plugins::Base::_version_compare( '1.1.1', '2.2.2' ), -1, "1.1.1 is less then 2.2.2" );
|
||||
is( Koha::Plugins::Base::_version_compare( '2.2.2', '1.1.1' ), 1, "1.1.1 is greater then 2.2.2" );
|
||||
is( Koha::Plugins::Base::_version_compare( '1.1.1', '1.1.1' ), 0, "1.1.1 is equal to 1.1.1" );
|
||||
|
|
|
|||
Loading…
Reference in New Issue