Bug 24268: Unit tests

Signed-off-by: Liz Rea <wizzyrea@gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Nick Clemens 2019-12-18 19:01:26 +00:00 committed by Martin Renvoize
parent 96f3ae0285
commit e3209e7110
No known key found for this signature in database
GPG Key ID: 422B469130441A0F
1 changed files with 9 additions and 0 deletions

View File

@ -110,6 +110,15 @@ DELETESQL
}
});
#Adding a second preference for a notice that isn't defined, should just be skipped
my $borrower_message_transport_preference_1 = $builder->build({
source => 'BorrowerMessageTransportPreference',
value => {
borrower_message_preference_id => $borrower_message_preference->{borrower_message_preference_id},
message_transport_type => 'phone'
}
});
my $biblio = $builder->build({
source => 'Biblio',
});