Bugzilla – Attachment 151239 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), 924 bytes, created by
David Nind
on 2023-05-16 02:05:37 UTC
(
hide
)
Description:
Bug 32648: Clear cache in Filter_MARC_ViewPolicy.t
Filename:
MIME Type:
Creator:
David Nind
Created:
2023-05-16 02:05:37 UTC
Size:
924 bytes
patch
obsolete
>From cbb9e76133c3f3f9c341b3180755393f06fa8f13 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> >--- > 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.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 32648
:
149026
|
149029
|
151199
|
151239
|
151243