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

(-)a/t/db_dependent/Koha/Biblio.t (-2 / +4 lines)
Lines 651-659 subtest 'get_marc_notes() UNIMARC tests' => sub { Link Here
651
    $schema->storage->txn_rollback;
651
    $schema->storage->txn_rollback;
652
};
652
};
653
653
654
subtest 'host_items' => sub {
654
subtest 'host_items() tests' => sub {
655
    plan tests => 6;
655
    plan tests => 6;
656
656
657
    $schema->storage->txn_begin;
658
657
    my $biblio = $builder->build_sample_biblio( { frameworkcode => '' } );
659
    my $biblio = $builder->build_sample_biblio( { frameworkcode => '' } );
658
660
659
    t::lib::Mocks::mock_preference( 'EasyAnalyticalRecords', 1 );
661
    t::lib::Mocks::mock_preference( 'EasyAnalyticalRecords', 1 );
Lines 686-689 subtest 'host_items' => sub { Link Here
686
    is( ref($host_items),   'Koha::Items' );
688
    is( ref($host_items),   'Koha::Items' );
687
    is( $host_items->count, 0 );
689
    is( $host_items->count, 0 );
688
690
691
    $schema->storage->txn_rollback;
689
};
692
};
690
- 

Return to bug 27526