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>
(cherry picked from commit 361ec4b2ea)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
4ca639a5f6
commit
eff4e19ef8
|
|
@ -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 New Issue