Bug 39190: (follow-up) Two QA fixes
This patch: * Removes unused logger object instantiation * Adds missing Test::NoWarnings to the API tests Signed-off-by: Tomás Cohen Arazi <tomascohen@theke.io> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
a5f72d7362
commit
0c41c436c9
|
|
@ -90,8 +90,6 @@ sub upload_file {
|
|||
my ( $self, $local_file, $remote_file ) = @_;
|
||||
my $operation = "upload";
|
||||
|
||||
my $logger = Koha::Logger->get_logger();
|
||||
|
||||
$self->{connection}->put( $local_file, $remote_file ) or return $self->_abort_operation($operation);
|
||||
|
||||
$self->add_message(
|
||||
|
|
|
|||
|
|
@ -17,8 +17,9 @@
|
|||
|
||||
use Modern::Perl;
|
||||
|
||||
use Test::More tests => 5;
|
||||
use Test::More tests => 6;
|
||||
use Test::Mojo;
|
||||
use Test::NoWarnings;
|
||||
|
||||
use t::lib::TestBuilder;
|
||||
use t::lib::Mocks;
|
||||
|
|
|
|||
Loading…
Reference in New Issue