From d765c8caf08288bf85587dbb9715c575957c1a79 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Wed, 18 Dec 2019 19:01:26 +0000 Subject: [PATCH] Bug 24268: Unit tests --- t/db_dependent/cronjobs/advance_notices_digest.t | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/t/db_dependent/cronjobs/advance_notices_digest.t b/t/db_dependent/cronjobs/advance_notices_digest.t index 23db520e4e..a666e1c785 100644 --- a/t/db_dependent/cronjobs/advance_notices_digest.t +++ b/t/db_dependent/cronjobs/advance_notices_digest.t @@ -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', }); -- 2.11.0