View | Details | Raw Unified | Return to bug 38913
Collapse All | Expand All

(-)a/t/db_dependent/Koha/SearchEngine/Elasticsearch.t (-2 / +2 lines)
Lines 16-21 Link Here
16
# along with Koha; if not, see <http://www.gnu.org/licenses>.
16
# along with Koha; if not, see <http://www.gnu.org/licenses>.
17
17
18
use Modern::Perl;
18
use Modern::Perl;
19
use Encode;
19
20
20
use Test::More tests => 8;
21
use Test::More tests => 8;
21
use Test::Exception;
22
use Test::Exception;
Lines 690-696 subtest 'Koha::SearchEngine::Elasticsearch::marc_records_to_documents () tests' Link Here
690
        MARC::Field->new('999', '', '', c => '1234567'),
691
        MARC::Field->new('999', '', '', c => '1234567'),
691
    );
692
    );
692
693
693
    my $item_field = MARC::Field->new('952', '', '', o => '123456789123456789123456789', p => '123456789', z => 'test');
694
    my $item_field = MARC::Field->new('952', '', '', o => '123456789123456789123456789', p => '123456789', z => Encode::decode('UTF-8','To naprawdę bardzo długa notatka. Myślę, że będzie sprawiać kłopoty.'));
694
    my $items_count = 1638;
695
    my $items_count = 1638;
695
    while(--$items_count) {
696
    while(--$items_count) {
696
        $large_marc_record->append_fields($item_field);
697
        $large_marc_record->append_fields($item_field);
697
- 

Return to bug 38913