Bug 24031: Fix warnings

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>
This commit is contained in:
Kyle Hall 2019-11-21 08:08:38 -05:00 committed by Jonathan Druart
parent d8c137a718
commit 04afc1678a

View file

@ -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;