Revert "Bug 15187: (QA follow-up) Add unit test"
[koha-ffzg.git] / t / SuggestionEngine_AuthorityFile.t
index eab5fb6..486e903 100755 (executable)
@@ -45,7 +45,7 @@ $db->mock( _new_schema => sub { return Schema(); } );
 
 use_ok('Koha::SuggestionEngine');
 
-my $module = new Test::MockModule('C4::AuthoritiesMarc');
+my $module = Test::MockModule->new('C4::AuthoritiesMarc');
 $module->mock('SearchAuthorities', sub {
         return [ { 'authid' => '1234',
                     'reported_tag' => undef,