Bugzilla – Attachment 151243 Details for
Bug 32648
Search.t is failing if run after Filter_MARC_ViewPolicy.t
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32648: Clear cache in Filter_MARC_ViewPolicy.t
Bug-32648-Clear-cache-in-FilterMARCViewPolicyt.patch (text/plain), 989 bytes, created by
Martin Renvoize
on 2023-05-16 06:46:49 UTC
(
hide
)
Description:
Bug 32648: Clear cache in Filter_MARC_ViewPolicy.t
Filename:
MIME Type:
Creator:
Martin Renvoize
Created:
2023-05-16 06:46:49 UTC
Size:
989 bytes
patch
obsolete
>From 2ec9c5d126ba65c1519f2c21ac2c044a82435697 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 15 May 2023 17:16:20 +0200 >Subject: [PATCH] Bug 32648: Clear cache in Filter_MARC_ViewPolicy.t > >Search.t is failing if run after Filter_MARC_ViewPolicy.t because of a >missing flush > >Signed-off-by: David Nind <david@davidnind.com> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > t/db_dependent/Filter_MARC_ViewPolicy.t | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/t/db_dependent/Filter_MARC_ViewPolicy.t b/t/db_dependent/Filter_MARC_ViewPolicy.t >index 8f3c744358..1b03f807ac 100755 >--- a/t/db_dependent/Filter_MARC_ViewPolicy.t >+++ b/t/db_dependent/Filter_MARC_ViewPolicy.t >@@ -205,3 +205,5 @@ subtest 'Koha::Filter::MARC::ViewPolicy intranet tests' => sub { > $schema->storage->txn_rollback(); > }; > >+my $cache = Koha::Caches->get_instance(); >+$cache->flush_all(); # Clear cache for the other tests >-- >2.40.1
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 32648
:
149026
|
149029
|
151199
|
151239
| 151243