Bugzilla – Attachment 91204 Details for
Bug 23230
Make Koha::Plugins::Base::_version_compare OO
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23230: (follow-up) Fix broken tests
Bug-23230-follow-up-Fix-broken-tests.patch (text/plain), 1.01 KB, created by
Mark Tompsett
on 2019-07-03 02:36:53 UTC
(
hide
)
Description:
Bug 23230: (follow-up) Fix broken tests
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2019-07-03 02:36:53 UTC
Size:
1.01 KB
patch
obsolete
>From 7e9ff71a19b217917e76f871b11e9f95aa5dc2b3 Mon Sep 17 00:00:00 2001 >From: Mark Tompsett <mtompset@hotmail.com> >Date: Wed, 3 Jul 2019 02:35:16 +0000 >Subject: [PATCH] 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> >--- > t/db_dependent/Plugins.t | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/t/db_dependent/Plugins.t b/t/db_dependent/Plugins.t >index 3db0adb627..a667434d20 100755 >--- a/t/db_dependent/Plugins.t >+++ b/t/db_dependent/Plugins.t >@@ -290,6 +290,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" ); >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 23230
:
91152
|
91153
|
91201
|
91202
|
91203
|
91204
|
91220
|
91221
|
91222