Bugzilla – Attachment 182107 Details for
Bug 39777
ILL history check does not show in OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39777: Rollback tests
Bug-39777-Rollback-tests.patch (text/plain), 1.52 KB, created by
Tomás Cohen Arazi (tcohen)
on 2025-05-08 19:26:50 UTC
(
hide
)
Description:
Bug 39777: Rollback tests
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2025-05-08 19:26:50 UTC
Size:
1.52 KB
patch
obsolete
>From 29e4894da2ea8345659e8c7d78e0945b3091811c Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@openfifth.co.uk> >Date: Tue, 29 Apr 2025 15:35:07 +0000 >Subject: [PATCH] Bug 39777: Rollback tests > >These tests should test an authenticated patron, without the presence of a cardnumber in the metadata (as it is the case in the OPAC form) >This is also the reason why we mock_userenv right below this. > >Signed-off-by: David Nind <david@davidnind.com> >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >Edit (tcohen): Tidied the file... >--- > t/db_dependent/Koha/ILL/Request/Workflow/HistoryCheck.t | 8 +++----- > 1 file changed, 3 insertions(+), 5 deletions(-) > >diff --git a/t/db_dependent/Koha/ILL/Request/Workflow/HistoryCheck.t b/t/db_dependent/Koha/ILL/Request/Workflow/HistoryCheck.t >index 86f0f2065ac..12796830b0b 100755 >--- a/t/db_dependent/Koha/ILL/Request/Workflow/HistoryCheck.t >+++ b/t/db_dependent/Koha/ILL/Request/Workflow/HistoryCheck.t >@@ -123,16 +123,14 @@ subtest 'after_request_created' => sub { > > my $fake_cardnumber = '123456789'; > my $metadata = { >- title => 'This is a title', >- author => 'This is an author', >- isbn => $isbn, >- cardnumber => $fake_cardnumber, >+ title => 'This is a title', >+ author => 'This is an author', >+ isbn => $isbn, > }; > > my $authenticated_patron = $builder->build_object( > { > class => 'Koha::Patrons', >- value => { cardnumber => $fake_cardnumber } > } > ); > >-- >2.49.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 39777
:
181671
|
181672
|
181674
|
181692
|
181693
| 182107 |
182108