Bugzilla – Attachment 149791 Details for
Bug 33447
Add caching to Biblio->pickup_locations
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33447: Adjust tests
Bug-33447-Adjust-tests.patch (text/plain), 1.25 KB, created by
Marcel de Rooy
on 2023-04-18 11:30:14 UTC
(
hide
)
Description:
Bug 33447: Adjust tests
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2023-04-18 11:30:14 UTC
Size:
1.25 KB
patch
obsolete
>From eac60d788f98ce0ba23c9b40a8aa9ceaaf672a1d Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Fri, 7 Apr 2023 21:46:24 +0000 >Subject: [PATCH] Bug 33447: Adjust tests >Content-Type: text/plain; charset=utf-8 > >Signed-off-by: emlam <emily.lamancusa@montgomerycountymd.gov> > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > t/db_dependent/Koha/Biblio.t | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/t/db_dependent/Koha/Biblio.t b/t/db_dependent/Koha/Biblio.t >index af3a424bc9..e3957a7a67 100755 >--- a/t/db_dependent/Koha/Biblio.t >+++ b/t/db_dependent/Koha/Biblio.t >@@ -24,6 +24,7 @@ use C4::Biblio qw( AddBiblio ModBiblio ModBiblioMarc ); > use C4::Circulation qw( AddIssue AddReturn ); > > use Koha::Database; >+use Koha::Cache::Memory::Lite; > use Koha::Caches; > use Koha::Acquisition::Orders; > use Koha::AuthorisedValueCategories; >@@ -435,6 +436,8 @@ subtest 'pickup_locations' => sub { > } > > foreach my $cbranch ('ItemHomeLibrary','PatronLibrary') { >+ my $cache = Koha::Cache::Memory::Lite->get_instance(); >+ $cache->flush(); > foreach my $biblio ($biblio1, $biblio2) { > foreach my $patron ($patron1, $patron8) { > _doTest($cbranch, $biblio, $patron, $results); >-- >2.30.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 33447
:
149295
|
149296
|
149389
|
149390
|
149790
| 149791 |
149792
|
149968
|
149981
|
149982