Bugzilla – Attachment 165439 Details for
Bug 36678
Include fields with non-filing characters removed when indexing
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36678: Adjust unit tests
Bug-36678-Adjust-unit-tests.patch (text/plain), 1.64 KB, created by
Nick Clemens (kidclamp)
on 2024-04-23 19:04:11 UTC
(
hide
)
Description:
Bug 36678: Adjust unit tests
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2024-04-23 19:04:11 UTC
Size:
1.64 KB
patch
obsolete
>From 2f37a5803b3a666adb648df6371a9bbd7358ec41 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Tue, 23 Apr 2024 18:57:45 +0000 >Subject: [PATCH] Bug 36678: Adjust unit tests > >--- > t/db_dependent/Koha/SearchEngine/Elasticsearch.t | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/t/db_dependent/Koha/SearchEngine/Elasticsearch.t b/t/db_dependent/Koha/SearchEngine/Elasticsearch.t >index 11057146cfc..48cd2025d8c 100755 >--- a/t/db_dependent/Koha/SearchEngine/Elasticsearch.t >+++ b/t/db_dependent/Koha/SearchEngine/Elasticsearch.t >@@ -507,7 +507,7 @@ subtest 'Koha::SearchEngine::Elasticsearch::marc_records_to_documents () tests' > ); > is_deeply( > $docs->[3]->{'title-no-punctuation'}, >- [ 'The Titles the thing ', 'fourth record', 'The Titles the thing fourth record' ], >+ [ 'The Titles the thing ', 'Titles the thing ', 'fourth record', 'The Titles the thing fourth record' ], > 'Fourth document title-no-punctuation field should be set correctly' > ); > >@@ -600,8 +600,8 @@ subtest 'Koha::SearchEngine::Elasticsearch::marc_records_to_documents () tests' > # Nonfiling characters for sort fields > is_deeply( > $docs->[0]->{uniform_title}, >- ['The uniform title with nonfiling indicator'], >- 'First document uniform_title field should contain the title verbatim' >+ [ 'The uniform title with nonfiling indicator', 'uniform title with nonfiling indicator' ], >+ 'First document uniform_title field should contain the title verbatim and with four initial characters removed' > ); > is_deeply( > $docs->[0]->{uniform_title__sort}, >-- >2.39.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 36678
:
165438
|
165439
|
165440
|
165648
|
165649
|
165960
|
165961