From c3eeb8613fdcfd2baa57a4dc4eb525857b42fb3f Mon Sep 17 00:00:00 2001 From: Mark Tompsett 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. --- 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