Bugzilla – Attachment 161694 Details for
Bug 35962
t/db_dependent/Koha/BackgroundJob.t failing on D10
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35962: (bug 35843 follow-up) Fix BackgroundJob.t on D10
Bug-35962-bug-35843-follow-up-Fix-BackgroundJobt-o.patch (text/plain), 1.09 KB, created by
Jonathan Druart
on 2024-01-31 15:46:30 UTC
(
hide
)
Description:
Bug 35962: (bug 35843 follow-up) Fix BackgroundJob.t on D10
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2024-01-31 15:46:30 UTC
Size:
1.09 KB
patch
obsolete
>From a5897bcc4d453670243855ca78d8576d9bd47341 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 31 Jan 2024 16:44:47 +0100 >Subject: [PATCH] Bug 35962: (bug 35843 follow-up) Fix BackgroundJob.t on D10 > >--- > t/db_dependent/Koha/BackgroundJob.t | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/t/db_dependent/Koha/BackgroundJob.t b/t/db_dependent/Koha/BackgroundJob.t >index 2d3c33e41b5..a5ca4351bdc 100755 >--- a/t/db_dependent/Koha/BackgroundJob.t >+++ b/t/db_dependent/Koha/BackgroundJob.t >@@ -80,7 +80,7 @@ subtest 'enqueue() tests' => sub { > 'Enqueue BatchUpdateItem without data throws exception'; > > # The following test needs a mock to trigger the exception >- my $mock = Test::MockModule->new('Net::Stomp')->mock( 'send_with_receipt', 0 ); >+ my $mock = Test::MockModule->new('Net::Stomp')->mock( 'send_with_receipt', sub { 0 } ); > throws_ok { Koha::BackgroundJob::MARCImportCommitBatch->new->enqueue } > 'Koha::Exceptions::BackgroundJob', > 'Enqueue MARCImportCommitBatch with mock throws exception'; >-- >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 35962
: 161694 |
161771