Bugzilla – Attachment 151199 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), 877 bytes, created by
Jonathan Druart
on 2023-05-15 15:17:50 UTC
(
hide
)
Description:
Bug 32648: Clear cache in Filter_MARC_ViewPolicy.t
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2023-05-15 15:17:50 UTC
Size:
877 bytes
patch
obsolete
>From 07e543167ea5142a8ec7f53fd3eb9a3906482169 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 >--- > 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 8f3c7443588..1b03f807ac1 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.25.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