Bugzilla – Attachment 156083 Details for
Bug 34847
Search.t is failing if the DB has been upgraded
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34847: Fix t/db_dependent/Search.t
Bug-34847-Fix-tdbdependentSearcht.patch (text/plain), 1.54 KB, created by
Jonathan Druart
on 2023-09-22 12:34:45 UTC
(
hide
)
Description:
Bug 34847: Fix t/db_dependent/Search.t
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2023-09-22 12:34:45 UTC
Size:
1.54 KB
patch
obsolete
>From f1a27d343b5022f2360659122b2856e3cc6b986e Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 22 Sep 2023 14:33:31 +0200 >Subject: [PATCH] Bug 34847: Fix t/db_dependent/Search.t > >If 01e still exists then the test will fail with >Truncated incorrect DECIMAL value: '01e' at t/db_dependent/Search.t line 945 > >Test plan: >% perl /kohadevbox/misc4dev/run_tests.pl --run-db-upgrade-only >% prove t/db_dependent/Search.t >--- > t/db_dependent/Search.t | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/t/db_dependent/Search.t b/t/db_dependent/Search.t >index 988947a571d..b3e1c77de66 100755 >--- a/t/db_dependent/Search.t >+++ b/t/db_dependent/Search.t >@@ -511,7 +511,7 @@ ok(MARC::Record::new_from_xml($results_hashref->{biblioserver}->{RECORDS}->[0],' > UPDATE marc_subfield_structure > SET hidden=4 > WHERE frameworkcode='$fw' AND >- tagfield=952 AND >+ tagfield='952' AND > tagsubfield='p'; > }); > >@@ -520,7 +520,7 @@ ok(MARC::Record::new_from_xml($results_hashref->{biblioserver}->{RECORDS}->[0],' > UPDATE marc_subfield_structure > SET hidden=-7 > WHERE frameworkcode='$fw' AND >- tagfield=952 AND >+ tagfield='952' AND > tagsubfield='y'; > }); > >@@ -1018,7 +1018,7 @@ END { > $dbh->do(q{ > UPDATE marc_subfield_structure > SET hidden=0 >- WHERE tagfield=952 AND >+ WHERE tagfield='952' AND > ( tagsubfield IN ('p', 'y') ) > }); > >-- >2.25.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 34847
:
156083
|
156088