Bugzilla – Attachment 112758 Details for
Bug 19133
Password recovery routes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19133: Fix tests
Bug-19133-Fix-tests.patch (text/plain), 1.52 KB, created by
Tomás Cohen Arazi
on 2020-10-30 20:03:41 UTC
(
hide
)
Description:
Bug 19133: Fix tests
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi
Created:
2020-10-30 20:03:41 UTC
Size:
1.52 KB
patch
obsolete
>From 1757a0b5a0830826f12f9996329457345206d62f Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Fri, 30 Oct 2020 17:02:32 -0300 >Subject: [PATCH] Bug 19133: Fix tests > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > t/db_dependent/api/v1/patrons_password_recovery.t | 12 +++++++++++- > 1 file changed, 11 insertions(+), 1 deletion(-) > >diff --git a/t/db_dependent/api/v1/patrons_password_recovery.t b/t/db_dependent/api/v1/patrons_password_recovery.t >index 176429886d2..0716c2ebbfc 100644 >--- a/t/db_dependent/api/v1/patrons_password_recovery.t >+++ b/t/db_dependent/api/v1/patrons_password_recovery.t >@@ -421,7 +421,16 @@ sub create_user_and_session { > > my $flags = ( $args->{authorized} ) ? $args->{authorized} : 0; > my $categorycode = $builder->build({ source => 'Category' })->{categorycode}; >- my $branchcode = $builder->build({ source => 'Branch' })->{ branchcode }; >+ my $branchcode = $builder->build( >+ { >+ source => 'Branch', >+ value => { >+ branchemail => 'tomasito@koha-community.org', >+ branchreplyto => undef, >+ branchreturnpath => undef >+ } >+ } >+ )->{branchcode}; > my $dbh = C4::Context->dbh; > > my $borrower = $builder->build({ >@@ -431,6 +440,7 @@ sub create_user_and_session { > categorycode => $categorycode, > lost => 0, > flags => $flags, >+ email => 'tomasito@koha-community.org' > } > }); > >-- >2.29.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 19133
:
66415
|
66416
|
66419
|
94551
|
94553
|
94554
|
112751
|
112752
|
112753
|
112755
|
112756
|
112757
|
112758
|
112937
|
112938
|
112939
|
112940
|
112941
|
112942
|
112943
|
112944
|
113328