Bugzilla – Attachment 156437 Details for
Bug 34969
t/Search/buildQuery.t does not do anything with Test::DBIx::Class
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34969: Remove unneeded module from buildQuery.t
Bug-34969-Remove-unneeded-module-from-buildQueryt.patch (text/plain), 1.33 KB, created by
Marcel de Rooy
on 2023-09-30 06:53:39 UTC
(
hide
)
Description:
Bug 34969: Remove unneeded module from buildQuery.t
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2023-09-30 06:53:39 UTC
Size:
1.33 KB
patch
obsolete
>From c91df34108cdbe5254bde20e257efaac58d7ae1c Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Sat, 30 Sep 2023 06:52:08 +0000 >Subject: [PATCH] Bug 34969: Remove unneeded module from buildQuery.t >Content-Type: text/plain; charset=utf-8 > >Test plan: >Run t/Search/buildQuery.t > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > t/Search/buildQuery.t | 21 +++------------------ > 1 file changed, 3 insertions(+), 18 deletions(-) > >diff --git a/t/Search/buildQuery.t b/t/Search/buildQuery.t >index 58d8158f96..d03b2cf8b0 100755 >--- a/t/Search/buildQuery.t >+++ b/t/Search/buildQuery.t >@@ -16,27 +16,12 @@ > # along with Koha; if not, see <http://www.gnu.org/licenses>. > > use Modern::Perl; >+use Test::More tests => 9; >+use Net::Z3950::ZOOM; > >-use Test::More; > use t::lib::Mocks; > >-use Module::Load::Conditional qw/check_install/; >- >-BEGIN { >- if ( check_install( module => 'Test::DBIx::Class' ) ) { >- plan tests => 12; >- } else { >- plan skip_all => "Need Test::DBIx::Class" >- } >-} >- >-# Mock the DB connection and C4::Context >-use Test::DBIx::Class; >- >-use_ok('C4::Search', qw( buildQuery )); >-can_ok('C4::Search', >- qw/buildQuery/); >-use_ok("Net::Z3950::ZOOM"); >+use C4::Search qw( buildQuery ); > > #FIXME: would it be better to use our real ccl.properties file? > sub _get_ccl_properties { >-- >2.30.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 34969
:
156437
|
156491
|
156492