Bugzilla – Attachment 144587 Details for
Bug 32394
Long tasks queue is never used
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32394: Add tests
Bug-32394-Add-tests.patch (text/plain), 1.26 KB, created by
Tomás Cohen Arazi (tcohen)
on 2022-12-14 17:35:36 UTC
(
hide
)
Description:
Bug 32394: Add tests
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2022-12-14 17:35:36 UTC
Size:
1.26 KB
patch
obsolete
>From b8e4d7d7706fc129985f9a3dc2da550625941dbe Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 14 Dec 2022 09:01:33 +0100 >Subject: [PATCH] Bug 32394: Add tests > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > t/db_dependent/Koha/BackgroundJob.t | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/t/db_dependent/Koha/BackgroundJob.t b/t/db_dependent/Koha/BackgroundJob.t >index 80674fbde58..4f1f4d9bbe7 100755 >--- a/t/db_dependent/Koha/BackgroundJob.t >+++ b/t/db_dependent/Koha/BackgroundJob.t >@@ -69,7 +69,7 @@ subtest '_derived_class() tests' => sub { > > subtest 'enqueue() tests' => sub { > >- plan tests => 7; >+ plan tests => 8; > > $schema->storage->txn_begin; > >@@ -108,6 +108,7 @@ subtest 'enqueue() tests' => sub { > is( $job->size, 3, 'Three steps' ); > is( $job->status, 'new', 'Initial status set correctly' ); > is( $job->borrowernumber, $patron->id, 'Borrowernumber set from userenv' ); >+ is( $job->queue, 'long_tasks', 'BatchUpdateItem should use the long_tasks queue' ); > is_deeply( $job->json->decode( $job->context ), $job_context, 'Context set from userenv + interface' ); > > $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 32394
:
144400
|
144444
|
144524
|
144567
|
144568
|
144585
|
144586
| 144587 |
144670
|
145964
|
145965
|
145966