Bugzilla – Attachment 51909 Details for
Bug 16582
t/Price.t test should pass if Test::DBIx::Class is not available
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 16582 t/Price.t test should pass if Test::DBIx::Class is not available
Bug-16582-tPricet-test-should-pass-if-TestDBIxClas.patch (text/plain), 1.04 KB, created by
Srdjan Jankovic
on 2016-05-30 05:00:28 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 16582 t/Price.t test should pass if Test::DBIx::Class is not available
Filename:
MIME Type:
Creator:
Srdjan Jankovic
Created:
2016-05-30 05:00:28 UTC
Size:
1.04 KB
patch
obsolete
>From ee8d68105c2973ccbbd5080673aa0c95c35c0307 Mon Sep 17 00:00:00 2001 >From: Mark Tompsett <mtompset@hotmail.com> >Date: Tue, 24 May 2016 22:28:47 -0400 >Subject: [PATCH] Bug 16582 t/Price.t test should pass if Test::DBIx::Class is > not available > >This patch makes it so 00-load.t doesn't cause 'prove t' to >prematurely die before reaching other tests. > >TEST PLAN >--------- >1) prove t > -- dies on 00-load.t >2) apply patch >3) prove t > -- now t/Prices.t should be the failure. > >Signed-off-by: Srdjan <srdjan@catalyst.net.nz> >--- > t/00-load.t | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/t/00-load.t b/t/00-load.t >index 21b62eb..f0ba029 100644 >--- a/t/00-load.t >+++ b/t/00-load.t >@@ -60,6 +60,7 @@ find( > $m =~ s{^.*/Koha/}{Koha/}; > $m =~ s{/}{::}g; > return if $m =~ /Koha::NorwegianPatronDB/; # uses non-mandatory modules >+ return if $m =~ /[eE]lastic[sS]earch/; # Elastic search libraries are breaking tests > use_ok($m) || BAIL_OUT("***** PROBLEMS LOADING FILE '$m'"); > }, > }, >-- >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 16582
:
51758
|
51759
|
51909
|
51910
|
51913
|
51914
|
51941