Bugzilla – Attachment 166461 Details for
Bug 36503
Add a plugin hook to modify patrons after authentication
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36503: Fix unit tests
Bug-36503-Fix-unit-tests.patch (text/plain), 1.28 KB, created by
Martin Renvoize (ashimema)
on 2024-05-09 13:57:39 UTC
(
hide
)
Description:
Bug 36503: Fix unit tests
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2024-05-09 13:57:39 UTC
Size:
1.28 KB
patch
obsolete
>From f1ee2d18d7cff11d70fd93452eb31d54248dbbaf Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Fri, 3 May 2024 11:19:42 +0100 >Subject: [PATCH] Bug 36503: Fix unit tests > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > t/db_dependent/Koha/Auth/Client.t | 10 +--------- > 1 file changed, 1 insertion(+), 9 deletions(-) > >diff --git a/t/db_dependent/Koha/Auth/Client.t b/t/db_dependent/Koha/Auth/Client.t >index 7020cef9ecd..bf545360f76 100755 >--- a/t/db_dependent/Koha/Auth/Client.t >+++ b/t/db_dependent/Koha/Auth/Client.t >@@ -86,16 +86,8 @@ subtest 'get_user() tests' => sub { > auth_client_get_user => sub { > $_[1]->{mapped_data}->{firstname} = 'test name modified 1'; > return; >- }, >- retrieve_data => sub { return $_[1] eq 'priority' ? 2 : undef; } >+ } > }, >- { >- auth_client_get_user => sub { >- $_[1]->{mapped_data}->{firstname} = 'test name modified 2'; >- return; >- }, >- retrieve_data => sub { return $_[1] eq 'priority' ? 1 : undef; } >- } > ]; > my @plugins; > foreach my $method ( @{$methods} ) { >-- >2.45.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 36503
:
164379
|
164628
|
164893
|
164894
|
165466
|
166050
|
166111
|
166112
|
166113
|
166114
|
166115
|
166116
|
166458
|
166459
|
166460
| 166461 |
166462
|
166531
|
166532