Bugzilla – Attachment 56686 Details for
Bug 5260
Add option to send an order by e-mail to the acquisition module
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 5260: make tests pass even without patron cat 'PT'
Bug-5260-make-tests-pass-even-without-patron-cat-P.patch (text/plain), 1.25 KB, created by
Jonathan Druart
on 2016-10-20 08:09:08 UTC
(
hide
)
Description:
Bug 5260: make tests pass even without patron cat 'PT'
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-10-20 08:09:08 UTC
Size:
1.25 KB
patch
obsolete
>From e93b3696773e17329cfdccfc76bc20e5f26f2d74 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 20 Oct 2016 08:54:21 +0100 >Subject: [PATCH] Bug 5260: make tests pass even without patron cat 'PT' > >--- > t/db_dependent/Letters.t | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > >diff --git a/t/db_dependent/Letters.t b/t/db_dependent/Letters.t >index 3f20306..9b5c469 100644 >--- a/t/db_dependent/Letters.t >+++ b/t/db_dependent/Letters.t >@@ -61,11 +61,12 @@ $dbh->do(q|DELETE FROM message_transport_types|); > my $library = $builder->build({ > source => 'Branch', > }); >+my $patron_category = $builder->build({ source => 'Category' }); > my $date = dt_from_string; > my $borrowernumber = AddMember( > firstname => 'Jane', > surname => 'Smith', >- categorycode => 'PT', >+ categorycode => $patron_category,, > branchcode => $library->{branchcode}, > dateofbirth => $date, > ); >@@ -473,7 +474,7 @@ my $serial = $serials[0]; > my $borrowernumber = AddMember( > firstname => 'John', > surname => 'Smith', >- categorycode => 'PT', >+ categorycode => $patron_category, > branchcode => $library->{branchcode}, > dateofbirth => $date, > email => 'john.smith@test.de', >-- >2.8.1
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 5260
:
2653
|
4067
|
4068
|
4781
|
22171
|
56449
|
56450
|
56483
|
56484
|
56549
|
56550
|
56551
|
56560
|
56561
|
56562
|
56568
|
56679
|
56680
|
56686
|
56687
|
56688
|
56689
|
56705
|
56706
|
56707
|
56708
|
56709
|
56786
|
56787
|
56788
|
56789
|
56790
|
56791
|
56792
|
56793
|
56794
|
56795