|
Lines 507-513
subtest 'Koha::SearchEngine::Elasticsearch::marc_records_to_documents () tests'
Link Here
|
| 507 |
); |
507 |
); |
| 508 |
is_deeply( |
508 |
is_deeply( |
| 509 |
$docs->[3]->{'title-no-punctuation'}, |
509 |
$docs->[3]->{'title-no-punctuation'}, |
| 510 |
[ 'The Titles the thing ', 'fourth record', 'The Titles the thing fourth record' ], |
510 |
[ 'The Titles the thing ', 'Titles the thing ', 'fourth record', 'The Titles the thing fourth record' ], |
| 511 |
'Fourth document title-no-punctuation field should be set correctly' |
511 |
'Fourth document title-no-punctuation field should be set correctly' |
| 512 |
); |
512 |
); |
| 513 |
|
513 |
|
|
Lines 600-607
subtest 'Koha::SearchEngine::Elasticsearch::marc_records_to_documents () tests'
Link Here
|
| 600 |
# Nonfiling characters for sort fields |
600 |
# Nonfiling characters for sort fields |
| 601 |
is_deeply( |
601 |
is_deeply( |
| 602 |
$docs->[0]->{uniform_title}, |
602 |
$docs->[0]->{uniform_title}, |
| 603 |
['The uniform title with nonfiling indicator'], |
603 |
[ 'The uniform title with nonfiling indicator', 'uniform title with nonfiling indicator' ], |
| 604 |
'First document uniform_title field should contain the title verbatim' |
604 |
'First document uniform_title field should contain the title verbatim and with four initial characters removed' |
| 605 |
); |
605 |
); |
| 606 |
is_deeply( |
606 |
is_deeply( |
| 607 |
$docs->[0]->{uniform_title__sort}, |
607 |
$docs->[0]->{uniform_title__sort}, |
| 608 |
- |
|
|