Bugzilla – Attachment 96589 Details for
Bug 7047
Renewing serials note not visible
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7047: (QA follow-up) Fix tests
Bug-7047-QA-follow-up-Fix-tests.patch (text/plain), 1.75 KB, created by
Katrin Fischer
on 2019-12-22 21:55:04 UTC
(
hide
)
Description:
Bug 7047: (QA follow-up) Fix tests
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2019-12-22 21:55:04 UTC
Size:
1.75 KB
patch
obsolete
>From a163bb0f8711f928cbfda55e020a35efbfed7412 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Mon, 16 Dec 2019 11:45:51 +0000 >Subject: [PATCH] Bug 7047: (QA follow-up) Fix tests > >Tests fail on biblionumber constraint for suggestions if 'RenewSerialAddsSuggestion' is enabled > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > t/db_dependent/Serials/ReNewSubscription.t | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > >diff --git a/t/db_dependent/Serials/ReNewSubscription.t b/t/db_dependent/Serials/ReNewSubscription.t >index d4331ceb0d..73affa201c 100644 >--- a/t/db_dependent/Serials/ReNewSubscription.t >+++ b/t/db_dependent/Serials/ReNewSubscription.t >@@ -58,11 +58,13 @@ my $pattern = $builder->build({ > } > }); > >+my $biblio = $builder->build_sample_biblio(); >+ > # Create fake subscription, daily subscription, duration 12 months, issues startint at #100 > my $subscription = $builder->build({ > source => 'Subscription', > value => { >- biblionumber => 1, >+ biblionumber => $biblio->biblionumber, > startdate => '2015-01-01', > enddate => '2015-12-31', > aqbooksellerid => 1, >@@ -75,6 +77,7 @@ my $subscription = $builder->build({ > my $subscriptionhistory = $builder->build({ > source => 'Subscriptionhistory', > value => { >+ biblionumber => $biblio->biblionumber, > subscriptionid => $subscription->{subscriptionid}, > histenddate => undef, > opacnote => 'Testing', >@@ -82,7 +85,6 @@ my $subscriptionhistory = $builder->build({ > }); > > # Actual testing starts here! >- > # Renew the subscription and check that enddate has not been set > ReNewSubscription( > { >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 7047
:
69474
|
71168
|
72639
|
96309
|
96310
|
96311
|
96317
|
96318
|
96319
|
96320
|
96321
|
96585
|
96586
|
96587
|
96588
| 96589