@@ -, +, @@ --- t/db_dependent/AuthoritiesMarc/MARC21.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/t/db_dependent/AuthoritiesMarc/MARC21.t +++ a/t/db_dependent/AuthoritiesMarc/MARC21.t @@ -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' => ''}; }); --