Bugzilla – Attachment 62370 Details for
Bug 17835
Move C4::Koha::GetItemTypes to Koha::ItemTypes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17835: (followup) Make TestBuilder skip views
Bug-17835-followup-Make-TestBuilder-skip-views.patch (text/plain), 941 bytes, created by
Tomás Cohen Arazi (tcohen)
on 2017-04-19 14:20:04 UTC
(
hide
)
Description:
Bug 17835: (followup) Make TestBuilder skip views
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2017-04-19 14:20:04 UTC
Size:
941 bytes
patch
obsolete
>From 1725e000e792441998e5510cfa4a2ac604aed350 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Wed, 19 Apr 2017 11:19:26 -0300 >Subject: [PATCH] Bug 17835: (followup) Make TestBuilder skip views > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > t/db_dependent/TestBuilder.t | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/t/db_dependent/TestBuilder.t b/t/db_dependent/TestBuilder.t >index 3d04950..03f58eb 100644 >--- a/t/db_dependent/TestBuilder.t >+++ b/t/db_dependent/TestBuilder.t >@@ -68,6 +68,8 @@ subtest 'Build all sources' => sub { > my @source_in_failure; > for my $source ( @sources ) { > my $res; >+ # Skip the source if it is a view >+ next if $schema->source($source)->isa('DBIx::Class::ResultSource::View'); > eval { $res = $builder->build( { source => $source } ); }; > push @source_in_failure, $source if $@ || !defined( $res ); > } >-- >2.7.4
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 17835
:
58561
|
58562
|
58563
|
58564
|
58565
|
58600
|
60033
|
60046
|
60048
|
60049
|
60050
|
60051
|
60052
|
60053
|
60914
|
60915
|
60916
|
60917
|
61695
|
61696
|
61697
|
61698
|
61699
|
61700
|
61966
|
61967
|
61968
|
61969
|
61970
|
61971
|
62156
|
62157
|
62158
|
62159
|
62160
|
62161
|
62162
| 62370 |
62470