Bugzilla – Attachment 92186 Details for
Bug 22188
Use publication date as numbering pattern
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22188: Tests
Bug-22188-Tests.patch (text/plain), 1.57 KB, created by
Aleisha Amohia
on 2019-08-14 04:07:22 UTC
(
hide
)
Description:
Bug 22188: Tests
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2019-08-14 04:07:22 UTC
Size:
1.57 KB
patch
obsolete
>From 9043d377a6ee1584ecf76850383c6abe5d26ab8e Mon Sep 17 00:00:00 2001 >From: Aleisha Amohia <aleishaamohia@hotmail.com> >Date: Wed, 14 Aug 2019 04:01:02 +0000 >Subject: [PATCH] Bug 22188: Tests > >This patch fixes the t/db_dependent/Serials.t test which fails with this >feature (without this fix). > >Ensure all other tests that use NewSubscription, ModSubscription, GetNextSeq, >GetSeq still pass. >db_dependent/Acquisition/OrderFromSubscription.t >db_dependent/Bookseller.t >db_dependent/Koha/Acquisition/Booksellers.t >db_dependent/Letters.t >db_dependent/Serials.t >db_dependent/Serials/Claims.t >db_dependent/Serials/ReNewSubscription.t >db_dependent/Serials_2.t >db_dependent/Serials/Frequency.t >db_dependent/Serials/Numberpattern.t >db_dependent/Serials/GetNextSeq.t >Serials/GetNextSeq.t > >Sponsored-by: Brimbank Libraries Australia >--- > t/db_dependent/Serials.t | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/t/db_dependent/Serials.t b/t/db_dependent/Serials.t >index 735af75..fe8e8a4 100755 >--- a/t/db_dependent/Serials.t >+++ b/t/db_dependent/Serials.t >@@ -223,7 +223,8 @@ is(C4::Serials::GetLatestSerials(), undef, 'test getting lastest serials'); > > is(C4::Serials::GetNextSeq(), undef, 'test getting next seq when you enter nothing'); > >-is(C4::Serials::GetSeq(), undef, 'test getting seq when you enter nothing'); >+is(C4::Serials::GetSeq(), 'pubdate', 'test getting seq when you enter nothing'); >+# no input means assume using publication date as numbering pattern > > is(C4::Serials::CountSubscriptionFromBiblionumber(), undef, 'test counting subscription when nothing is entered'); > >-- >2.1.4
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 22188
:
84314
|
85415
|
85540
|
85541
|
85542
|
86419
|
87433
|
88830
|
91761
|
91762
|
92185
|
92186
|
92345
|
92364
|
94290
|
94291
|
156886
|
156887
|
156888
|
156889
|
156890
|
156891
|
157009
|
157010
|
157011
|
157012
|
157013
|
157014
|
157015
|
157179
|
158638
|
158659