Bugzilla – Attachment 178685 Details for
Bug 36433
Plugin hook elasticsearch_to_document
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36433: fix test failing on Jenkins
Bug-36433-fix-test-failing-on-Jenkins.patch (text/plain), 1.07 KB, created by
Frédéric Demians
on 2025-02-25 15:23:20 UTC
(
hide
)
Description:
Bug 36433: fix test failing on Jenkins
Filename:
MIME Type:
Creator:
Frédéric Demians
Created:
2025-02-25 15:23:20 UTC
Size:
1.07 KB
patch
obsolete
>From 9fb61ecc7834c51e9d09d5ec0accfd7e434580ee Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Demians?= <f.demians@tamil.fr> >Date: Tue, 25 Feb 2025 16:21:36 +0100 >Subject: [PATCH] Bug 36433: fix test failing on Jenkins > >Transaction rollback not called. >--- > t/db_dependent/Koha/Plugins/Biblio_and_Items_plugin_hooks.t | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/t/db_dependent/Koha/Plugins/Biblio_and_Items_plugin_hooks.t b/t/db_dependent/Koha/Plugins/Biblio_and_Items_plugin_hooks.t >index b97ea7fb92..bbab31e399 100755 >--- a/t/db_dependent/Koha/Plugins/Biblio_and_Items_plugin_hooks.t >+++ b/t/db_dependent/Koha/Plugins/Biblio_and_Items_plugin_hooks.t >@@ -183,4 +183,7 @@ subtest 'elasticsearch_to_document() hooks tests' => sub { > ok( ref( $documents->[0] ) eq 'HASH', 'The document is a HASH' ); > ok( exists( $documents->[0]->{ppn} ), 'Generated field ppn exists' ); > ok( $documents->[0]->{ppn}->[0] eq '123456789', 'Field ppn contains 123456789' ); >+ >+ Koha::Plugins->RemovePlugins; >+ $schema->storage->txn_rollback; > }; >-- >2.34.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 36433
:
163943
|
163944
|
163962
|
163963
|
172062
|
172063
|
176749
|
176750
| 178685 |
178778