Bugzilla – Attachment 167064 Details for
Bug 36924
t/db_dependent/Search.t generates warnings
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36924: Remove warning "Value not allowed for auto_incr itemnumber in Item"
Bug-36924-Remove-warning-Value-not-allowed-for-aut.patch (text/plain), 2.33 KB, created by
Jonathan Druart
on 2024-05-23 06:50:40 UTC
(
hide
)
Description:
Bug 36924: Remove warning "Value not allowed for auto_incr itemnumber in Item"
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2024-05-23 06:50:40 UTC
Size:
2.33 KB
patch
obsolete
>From 4e1804125bf12b3f183ba2a587d600940639ea9e Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 23 May 2024 08:49:39 +0200 >Subject: [PATCH] Bug 36924: Remove warning "Value not allowed for auto_incr > itemnumber in Item" > >We are removing entirely the badly written test. >--- > t/db_dependent/Search.t | 26 +------------------------- > 1 file changed, 1 insertion(+), 25 deletions(-) > >diff --git a/t/db_dependent/Search.t b/t/db_dependent/Search.t >index 3beed6121ce..00ce65abdab 100755 >--- a/t/db_dependent/Search.t >+++ b/t/db_dependent/Search.t >@@ -31,7 +31,6 @@ use Test::MockModule; > use Test::Warn; > use t::lib::Mocks; > use t::lib::Mocks::Zebra; >-use t::lib::TestBuilder; > > use Koha::Caches; > >@@ -703,29 +702,6 @@ ok(MARC::Record::new_from_xml($results_hashref->{biblioserver}->{RECORDS}->[0],' > $results_hashref->{'biblioserver'}->{"RECORDS"}); > is(scalar(@{$newresults[0]->{'ALTERNATEHOLDINGS'}}), 1, 'Alternate holdings filled in correctly'); > >- >- ## Regression test for Bug 10741 >- >- # make one of the test items appear to be in transit >- my $circ_module = Test::MockModule->new('C4::Circulation'); >- my $builder = t::lib::TestBuilder->new; >- my $transfer = $builder->build( >- { >- source => 'Branchtransfer', >- value => { >- itemnumber => 11, >- frombranch => 'MPL', >- tobranch => 'CPL', >- datesent => \'NOW()' >- } >- } >- ); >- >- ($error, $results_hashref, $facets_loop) = getRecords("TEST12121212","TEST12121212",[ ], [ 'biblioserver' ],20,0,\%branches,\%itemtypes,$query_type,0); >- @newresults = searchResults({'interface'=>'intranet'}, $query_desc, $results_hashref->{'biblioserver'}->{'hits'}, 17, 0, 0, >- $results_hashref->{'biblioserver'}->{"RECORDS"}); >- ok(!exists($newresults[0]->{norequests}), 'presence of a transit does not block hold request action (bug 10741)'); >- > ## Regression test for bug 10684 > ( undef, $results_hashref, $facets_loop ) = > getRecords('ti:punctuation', 'punctuation', [], [ 'biblioserver' ], '19', 0, \%branches, \%itemtypes, 'ccl', undef); >@@ -947,7 +923,7 @@ sub run_unimarc_search_tests { > } > > subtest 'MARC21 + DOM' => sub { >- plan tests => 94; >+ plan tests => 93; > run_marc21_search_tests(); > }; > >-- >2.34.1
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 36924
:
167028
|
167040
|
167041
|
167064
|
167067
|
167068
|
167070
|
167071