Bug 10215: (follow-up) Fix the failing test
We now handle NULL values at the database end and do not expect empty strings. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> (cherry picked from commit117061d884) Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com> (cherry picked from commit5d0f6f8cbb) Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
52e3d51c8b
commit
a3469609fc
|
|
@ -92,8 +92,8 @@ is( $subscriptioninformation->{notes}, $notes, 'NewSubscription should set notes
|
|||
is( $subscriptioninformation->{internalnotes}, $internalnotes, 'NewSubscription should set internalnotes' );
|
||||
|
||||
my $subscription_history = C4::Serials::GetSubscriptionHistoryFromSubscriptionId($subscriptionid);
|
||||
is( $subscription_history->{opacnote}, '', 'NewSubscription should not set subscriptionhistory opacnotes' );
|
||||
is( $subscription_history->{librariannote}, '', 'NewSubscription should not set subscriptionhistory librariannotes' );
|
||||
is( $subscription_history->{opacnote}, undef, 'NewSubscription should not set subscriptionhistory opacnotes' );
|
||||
is( $subscription_history->{librariannote}, undef, 'NewSubscription should not set subscriptionhistory librariannotes' );
|
||||
|
||||
my @subscriptions = SearchSubscriptions({string => $subscriptioninformation->{bibliotitle}, orderby => 'title' });
|
||||
isa_ok( \@subscriptions, 'ARRAY' );
|
||||
|
|
|
|||
Loading…
Reference in New Issue