Bug 21958: (QA follow-up) Correct indirect object notation
Our coding guidelines now forbit indirect object notation calling. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
016bb29b60
commit
faf33a27ab
|
|
@ -28,7 +28,7 @@ subtest 'CompareFieldWithAuthority tests' => sub {
|
|||
|
||||
# We are now going to be testing the authorities hierarchy code, and
|
||||
# therefore need to pretend that we have consistent data in our database
|
||||
my $module = new Test::MockModule('C4::AuthoritiesMarc');
|
||||
my $module = Test::MockModule->new('C4::AuthoritiesMarc');
|
||||
$module->mock('GetHeaderAuthority', sub {
|
||||
return {'authtrees' => ''};
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue