Bugzilla – Attachment 114744 Details for
Bug 27317
(Bug 27127 follow-up) fix t/db_dependent/Koha/BackgroundJobs.t
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27317: (Bug 27127 follow-up) fix t/db_dependent/Koha/BackgroundJobs.t
Bug-27317-Bug-27127-follow-up-fix-tdbdependentKoha.patch (text/plain), 1.25 KB, created by
Fridolin Somers
on 2020-12-30 14:09:28 UTC
(
hide
)
Description:
Bug 27317: (Bug 27127 follow-up) fix t/db_dependent/Koha/BackgroundJobs.t
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2020-12-30 14:09:28 UTC
Size:
1.25 KB
patch
obsolete
>From be79d1407e547c9f3f4fa650f5b249a8ba5e7859 Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Wed, 30 Dec 2020 15:06:56 +0100 >Subject: [PATCH] Bug 27317: (Bug 27127 follow-up) fix > t/db_dependent/Koha/BackgroundJobs.t > >Bug 27127 changed Koha::BackgroundJob->messages to return arrayref instead of array. >This impacts Unit Test t/db_dependent/Koha/BackgroundJobs.t failling on : > not ok 10 - 10 messages generated > >Test plan : >prove t/db_dependent/Koha/BackgroundJobs.t >--- > t/db_dependent/Koha/BackgroundJobs.t | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/t/db_dependent/Koha/BackgroundJobs.t b/t/db_dependent/Koha/BackgroundJobs.t >index 72280d059e..dd44d76cfb 100755 >--- a/t/db_dependent/Koha/BackgroundJobs.t >+++ b/t/db_dependent/Koha/BackgroundJobs.t >@@ -73,7 +73,7 @@ $new_job->status('new')->store; > $new_job = > t::lib::Koha::BackgroundJob::BatchTest->process( { job_id => $new_job->id } ); > is( $new_job->status, "finished", 'job is new finished!' ); >-is( scalar( $new_job->messages ), 10, '10 messages generated' ); >+is( scalar( @{ $new_job->messages } ), 10, '10 messages generated' ); > is_deeply( > $new_job->report, > { total_records => 10, total_success => 10 }, >-- >2.29.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 27317
:
114744
|
114745
|
114746