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

Srdjan Jankovic <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #3 from Srdjan Jankovic <[email protected]> ---
There's something odd with that t/db_dependent/Plugins.t. Without the patch,
I've changed it:

diff --git a/t/db_dependent/Plugins.t b/t/db_dependent/Plugins.t
index 3271b1a..c5faf87 100755
--- a/t/db_dependent/Plugins.t
+++ b/t/db_dependent/Plugins.t
@@ -43,7 +43,7 @@ ok( $plugin->get_qualified_table_name('mytable') eq
'koha_plugin_test_mytable',
 ok( $plugin->get_plugin_http_path() eq '/plugin/Koha/Plugin/Test', 'Test
$plugin->get_plugin_http_path()' );

 my @plugins = Koha::Plugins->new({ enable_plugins => 1 })->GetPlugins(
'report' );
-ok( $plugins[0]->get_metadata()->{'name'} eq 'Test Plugin',
"Koha::Plugins::GetPlugins functions correctly" );
+is( $plugins[0]->get_metadata()->{'name'}, 'Test Plugin',
"Koha::Plugins::GetPlugins functions correctly" );

 SKIP: {
     my $plugins_dir = C4::Context->config("pluginsdir");


and I'm getting
not ok 18 - Koha::Plugins::GetPlugins functions correctly
#   Failed test 'Koha::Plugins::GetPlugins functions correctly'
#   at t/db_dependent/Plugins.t line 46.
#          got: 'Example Kitchen-Sink Plugin'
#     expected: 'Test Plugin'

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to