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

(-)a/t/db_dependent/Koha/ILL/Backend/Standard.t (-2 / +3 lines)
Lines 116-122 subtest 'edititem() tests' => sub { Link Here
116
116
117
subtest 'metadata() tests' => sub {
117
subtest 'metadata() tests' => sub {
118
118
119
    plan tests => 8;
119
    plan tests => 9;
120
120
121
    $schema->storage->txn_begin;
121
    $schema->storage->txn_begin;
122
122
Lines 129-134 subtest 'metadata() tests' => sub { Link Here
129
            title        => 'Test Title',
129
            title        => 'Test Title',
130
            author       => 'Test Author',
130
            author       => 'Test Author',
131
            isbn         => '1234567890',
131
            isbn         => '1234567890',
132
            eissn        => 'eissntest',
132
            year         => '2023',
133
            year         => '2023',
133
            custom_field => 'custom_value',
134
            custom_field => 'custom_value',
134
135
Lines 150-155 subtest 'metadata() tests' => sub { Link Here
150
    is( $metadata->{Title},        'Test Title',   'Title included in metadata' );
151
    is( $metadata->{Title},        'Test Title',   'Title included in metadata' );
151
    is( $metadata->{Author},       'Test Author',  'Author included in metadata' );
152
    is( $metadata->{Author},       'Test Author',  'Author included in metadata' );
152
    is( $metadata->{ISBN},         '1234567890',   'ISBN included in metadata' );
153
    is( $metadata->{ISBN},         '1234567890',   'ISBN included in metadata' );
154
    is( $metadata->{eISSN},        'eissntest',    'eISSN included in metadata' );
153
    is( $metadata->{Year},         '2023',         'Year included in metadata' );
155
    is( $metadata->{Year},         '2023',         'Year included in metadata' );
154
    is( $metadata->{Custom_field}, 'custom_value', 'Custom field included in metadata' );
156
    is( $metadata->{Custom_field}, 'custom_value', 'Custom field included in metadata' );
155
157
156
- 

Return to bug 41054