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

(-)a/t/db_dependent/Biblio.t (-2 / +2 lines)
Lines 98-103 subtest 'AddBiblio' => sub { Link Here
98
    });
98
    });
99
    warning_like { $builder->build_sample_biblio(); }
99
    warning_like { $builder->build_sample_biblio(); }
100
        qr/My biblionumber is \d+ and my frameworkcode is /, "The biblionumber is correctly passed to BiblioAutoLink";
100
        qr/My biblionumber is \d+ and my frameworkcode is /, "The biblionumber is correctly passed to BiblioAutoLink";
101
    $mock_biblio->unmock('BiblioAutoLink');
101
102
102
    subtest 'record_source_id param tests' => sub {
103
    subtest 'record_source_id param tests' => sub {
103
104
Lines 861-867 subtest "LinkBibHeadingsToAuthorities record generation tests" => sub { Link Here
861
    # Set up mocks to ensure authorities are generated
862
    # Set up mocks to ensure authorities are generated
862
    my $biblio_mod = Test::MockModule->new( 'C4::Linker::Default' );
863
    my $biblio_mod = Test::MockModule->new( 'C4::Linker::Default' );
863
    $biblio_mod->mock( 'get_link', sub {
864
    $biblio_mod->mock( 'get_link', sub {
864
        return (undef,undef);
865
        return (undef,undef,0);
865
    });
866
    });
866
    # UNIMARC valid headings are built from the marc_subfield_structure for bibs and
867
    # UNIMARC valid headings are built from the marc_subfield_structure for bibs and
867
    # include all subfields as valid, testing with MARC21 should be sufficient for now
868
    # include all subfields as valid, testing with MARC21 should be sufficient for now
868
- 

Return to bug 36938