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

(-)a/t/db_dependent/Koha/Plugins/Biblio_and_Items_plugin_hooks.t (-1 / +3 lines)
Lines 183-186 subtest 'elasticsearch_to_document() hooks tests' => sub { Link Here
183
    ok( ref( $documents->[0] ) eq 'HASH',           'The document is a HASH' );
183
    ok( ref( $documents->[0] ) eq 'HASH',           'The document is a HASH' );
184
    ok( exists( $documents->[0]->{ppn} ),           'Generated field ppn exists' );
184
    ok( exists( $documents->[0]->{ppn} ),           'Generated field ppn exists' );
185
    ok( $documents->[0]->{ppn}->[0] eq '123456789', 'Field ppn contains 123456789' );
185
    ok( $documents->[0]->{ppn}->[0] eq '123456789', 'Field ppn contains 123456789' );
186
187
    Koha::Plugins->RemovePlugins;
188
    $schema->storage->txn_rollback;
186
};
189
};
187
- 

Return to bug 36433