Bugzilla – Attachment 141223 Details for
Bug 23538
Email library when new patrons self register
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23538: (follow-up) Workaround to fix Patron.t
Bug-23538-follow-up-Workaround-to-fix-Patront.patch (text/plain), 1.27 KB, created by
Marcel de Rooy
on 2022-10-03 08:09:06 UTC
(
hide
)
Description:
Bug 23538: (follow-up) Workaround to fix Patron.t
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2022-10-03 08:09:06 UTC
Size:
1.27 KB
patch
obsolete
>From b4ac6283b9fd6fc3ad898bfff9633690587cbdfb Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Mon, 3 Oct 2022 08:03:50 +0000 >Subject: [PATCH] Bug 23538: (follow-up) Workaround to fix Patron.t >Content-Type: text/plain; charset=utf-8 > >See comment36 and comment37. This needs more attention but >serves as a quick fix only. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > t/db_dependent/Koha/Patron.t | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/t/db_dependent/Koha/Patron.t b/t/db_dependent/Koha/Patron.t >index fa035b8c04..ae8a7eed46 100755 >--- a/t/db_dependent/Koha/Patron.t >+++ b/t/db_dependent/Koha/Patron.t >@@ -1340,6 +1340,7 @@ subtest 'notify_library_of_registration()' => sub { > > # Test when EmailPatronRegistrations equals KohaAdminEmailAddress > t::lib::Mocks::mock_preference( 'EmailPatronRegistrations', 'KohaAdminEmailAddress' ); >+ t::lib::Mocks::mock_preference( 'ReplyToDefault', 'root@localhost' ); # FIXME Remove localhost > is( $patron->notify_library_of_registration(C4::Context->preference('EmailPatronRegistrations')), 1, 'OPAC_REG email is queued if EmailPatronRegistration syspref equals KohaAdminEmailAddress'); > $sth->execute( $patron->borrowernumber ); > $to_address = $sth->fetchrow_array; >-- >2.30.2
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 23538
:
133050
|
133051
|
133052
|
133053
|
133097
|
133098
|
133099
|
133100
|
133101
|
133102
|
133103
|
137997
|
137998
|
137999
|
138000
|
138001
|
138237
|
138238
|
138239
|
138240
|
138383
|
138384
|
138385
|
138386
|
138387
| 141223