Bug 24031: Fix warnings
authorKyle M Hall <kyle@bywatersolutions.com>
Thu, 21 Nov 2019 13:08:38 +0000 (08:08 -0500)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 30 Jul 2020 15:30:23 +0000 (17:30 +0200)
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Pasi Kallinen <pasi.kallinen@koha-suomi.fi>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

t/db_dependent/Koha/Plugins/Plugins.t

index ed19ecf..e6a353c 100755 (executable)
@@ -65,9 +65,9 @@ subtest 'call() tests' => sub {
     is_deeply(\@responses, $expected, 'call() should return all responses from plugins');
 
     # Make sure parameters are correctly passed to the plugin method
-    my @responses = Koha::Plugins->call('check_password', { password => '1234' });
+    @responses = Koha::Plugins->call('check_password', { password => '1234' });
 
-    my $expected = [ { error => 0 } ];
+    $expected = [ { error => 0 } ];
     is_deeply(\@responses, $expected, 'call() should return all responses from plugins');
 
     $schema->storage->txn_rollback;