Bug 35989: (QA follow-up): Fix QA tests
Some file tidying to pass the QA tests Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
95f2aecc1b
commit
361ec4b2ea
2 changed files with 40 additions and 36 deletions
|
@ -29,7 +29,9 @@ $module->mock('GetHeaderAuthority', sub {
|
|||
$module->mock('AddAuthorityTrees', sub {
|
||||
return;
|
||||
});
|
||||
$module->mock('GetAuthority', sub {
|
||||
$module->mock(
|
||||
'GetAuthority',
|
||||
sub {
|
||||
my ($authid) = @_;
|
||||
my $record = MARC::Record->new();
|
||||
if ( $authid eq '1' ) {
|
||||
|
@ -66,7 +68,9 @@ $module->mock('GetAuthority', sub {
|
|||
undef $record;
|
||||
}
|
||||
return $record;
|
||||
});
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
my $schema = Koha::Database->new->schema;
|
||||
$schema->storage->txn_begin;
|
||||
|
|
Loading…
Reference in a new issue