Bugzilla – Attachment 105291 Details for
Bug 25540
Biblio.t is failing randomly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25540: DO NOT PUSH - diag statement
Bug-25540-DO-NOT-PUSH---diag-statement.patch (text/plain), 1.51 KB, created by
Tomás Cohen Arazi (tcohen)
on 2020-05-22 22:40:03 UTC
(
hide
)
Description:
Bug 25540: DO NOT PUSH - diag statement
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2020-05-22 22:40:03 UTC
Size:
1.51 KB
patch
obsolete
>From 92aacf124be2c2f93e6905e84501231ee2534ea4 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 19 May 2020 15:32:08 +0200 >Subject: [PATCH] Bug 25540: DO NOT PUSH - diag statement > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > t/db_dependent/Koha/Biblio.t | 6 ++++++ > 1 file changed, 6 insertions(+) > >diff --git a/t/db_dependent/Koha/Biblio.t b/t/db_dependent/Koha/Biblio.t >index b849fd3160d..f2c8eb2eb1a 100644 >--- a/t/db_dependent/Koha/Biblio.t >+++ b/t/db_dependent/Koha/Biblio.t >@@ -213,6 +213,7 @@ subtest 'pickup_locations' => sub { > my $library7 = $builder->build_object( { class => 'Koha::Libraries', value => { pickup_location => 1 } } ); > my $library8 = $builder->build_object( { class => 'Koha::Libraries', value => { pickup_location => 0 } } ); > >+ our @created = ($library1, $library2, $library3, $library4, $library5, $library6, $library7, $library8); > Koha::CirculationRules->set_rules( > { > branchcode => $library1->branchcode, >@@ -384,6 +385,11 @@ subtest 'pickup_locations' => sub { > is( ref($pickup_location), 'Koha::Library', 'Object type is correct' ); > } > >+ my %set = map {$_->branchcode => 1} @created; >+ my @not_in = grep {not $set{$_->branchcode}} @pl; >+ for (@not_in){ >+ warn "FOUND";use Data::Printer colored => 1; warn p $_->unblessed; >+ } > ok( > scalar(@pl) == $results->{ $cbranch . '-' > . $biblio->title . '-' >-- >2.26.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 25540
:
105093
|
105094
|
105266
|
105290
| 105291 |
105292
|
105296
|
105297
|
115204
|
115205