Bug 23916: (follow-up) Add unit tests
Fix perlcritic error Subroutine "new" called using indirect syntax at line 128, column 14. See page 349 of PBP. (Severity: 4) Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
3c388b88c4
commit
2de7a4c04e
|
|
@ -125,7 +125,7 @@ $dbh->do('DELETE FROM borrowers');
|
|||
# Disable recording of the staff who checked out an item until we're ready for it
|
||||
t::lib::Mocks::mock_preference('RecordStaffUserOnCheckout', 0);
|
||||
|
||||
my $module = new Test::MockModule('C4::Context');
|
||||
my $module = Test::MockModule->new('C4::Context');
|
||||
|
||||
my $library = $builder->build({
|
||||
source => 'Branch',
|
||||
|
|
|
|||
Loading…
Reference in New Issue