Bugzilla – Attachment 156088 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.63 KB, created by
Marcel de Rooy
on 2023-09-22 12:53:21 UTC
(
hide
)
Description:
Bug 34847: Fix t/db_dependent/Search.t
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2023-09-22 12:53:21 UTC
Size:
1.63 KB
patch
obsolete
>From 74b7ea144267d5ab5b13900c35a8fc134172118a 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 >Content-Type: text/plain; charset=utf-8 > >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 > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > 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 988947a571..b3e1c77de6 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.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 34847
:
156083
| 156088