Bugzilla – Attachment 49412 Details for
Bug 15585
Move C4::Passwordrecovery to Koha::Patron::Password::Reset
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15585: Remove "shift on reference is experimental" warning
Bug-15585-Remove-shift-on-reference-is-experimenta.patch (text/plain), 1.33 KB, created by
Jonathan Druart
on 2016-03-22 11:05:22 UTC
(
hide
)
Description:
Bug 15585: Remove "shift on reference is experimental" warning
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-03-22 11:05:22 UTC
Size:
1.33 KB
patch
obsolete
>From 57705721821ea1465ea286543a411c3d4fa54b08 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 22 Mar 2016 11:04:41 +0000 >Subject: [PATCH] Bug 15585: Remove "shift on reference is experimental" > warning > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > t/db_dependent/Passwordrecovery.t | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/t/db_dependent/Passwordrecovery.t b/t/db_dependent/Passwordrecovery.t >index 9a3b8b2..92cdf4b 100755 >--- a/t/db_dependent/Passwordrecovery.t >+++ b/t/db_dependent/Passwordrecovery.t >@@ -134,7 +134,7 @@ ok( Koha::Patron::Password::Recovery::CompletePasswordRecovery($uuid2) == 0, "[C > # Koha::Patron::Password::Recovery::SendPasswordRecoveryEmail # > ############################################################### > >-my $borrower = shift [ Koha::Patrons->search( { userid => $userid1 } ) ]; >+my $borrower = Koha::Patrons->search( { userid => $userid1 } )->next; > ok( Koha::Patron::Password::Recovery::SendPasswordRecoveryEmail($borrower, $email1, 0) == 1, "[SendPasswordRecoveryEmail] Returns 1 on success" ); > my $letters = C4::Letters::GetQueuedMessages( { borrowernumber => $borrowernumber1, limit => 99 } ); > ok( scalar @$letters == 1, "[SendPasswordRecoveryEmail] There is a letter in the queue for our borrower"); >-- >2.7.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 15585
:
47359
|
48762
|
49411
| 49412