Bugzilla – Attachment 141306 Details for
Bug 25936
Notify users if their password has changed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25936: (follow-up) Fix ../api/v1/patrons.t
Bug-25936-follow-up-Fix-apiv1patronst.patch (text/plain), 1.03 KB, created by
Martin Renvoize (ashimema)
on 2022-10-04 13:17:21 UTC
(
hide
)
Description:
Bug 25936: (follow-up) Fix ../api/v1/patrons.t
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2022-10-04 13:17:21 UTC
Size:
1.03 KB
patch
obsolete
>From d37a1b25e17d11d59ef1720d6e33289ee45fd1f3 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Tue, 4 Oct 2022 12:00:18 +0100 >Subject: [PATCH] Bug 25936: (follow-up) Fix ../api/v1/patrons.t > >Disable password change notifications for the api test to negate the >need for setting up notices. >--- > t/db_dependent/api/v1/patrons.t | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/t/db_dependent/api/v1/patrons.t b/t/db_dependent/api/v1/patrons.t >index 3d23b60372..ca742986c2 100755 >--- a/t/db_dependent/api/v1/patrons.t >+++ b/t/db_dependent/api/v1/patrons.t >@@ -311,6 +311,9 @@ subtest 'add() tests' => sub { > my $code = 'ho'; > my $attr = "Let's go"; > >+ # Disable trigger to notify patrons of password changes for these tests >+ t::lib::Mocks::mock_preference( 'NotifyPasswordChange', 0 ); >+ > # Mock early, so existing mandatory attributes don't break all the tests > my $mocked_patron = Test::MockModule->new('Koha::Patron'); > $mocked_patron->mock( >-- >2.20.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 25936
:
131316
|
131317
|
131318
|
131319
|
131519
|
131520
|
131521
|
131543
|
141080
|
141081
|
141082
|
141104
|
141105
|
141106
|
141107
|
141108
| 141306 |
141307