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

(-)a/t/db_dependent/Circulation.t (-1 / +1 lines)
Lines 2006-2012 subtest '_FixAccountForLostAndReturned' => sub { Link Here
2006
        plan tests => 10;
2006
        plan tests => 10;
2007
2007
2008
        my $patron = $builder->build_object( { class => 'Koha::Patrons' } );
2008
        my $patron = $builder->build_object( { class => 'Koha::Patrons' } );
2009
        my manager = $builder->build_object({ class => "Koha::Patrons" });
2009
        my $manager = $builder->build_object({ class => "Koha::Patrons" });
2010
        t::lib::Mocks::mock_userenv({ patron => $manager,branchcode => $manager->branchcode });
2010
        t::lib::Mocks::mock_userenv({ patron => $manager,branchcode => $manager->branchcode });
2011
2011
2012
        my $item = $builder->build_sample_item(
2012
        my $item = $builder->build_sample_item(
(-)a/t/db_dependent/Koha/Holds.t (-1 / +2 lines)
Lines 47-52 subtest 'cancel' => sub { Link Here
47
        itype            => $itemtype->itemtype,
47
        itype            => $itemtype->itemtype,
48
    };
48
    };
49
    my $item = $builder->build_object( { class => 'Koha::Items', value => $item_info } );
49
    my $item = $builder->build_object( { class => 'Koha::Items', value => $item_info } );
50
    my $manager = $builder->build_object({ class => "Koha::Patrons" });
51
    t::lib::Mocks::mock_userenv({ patron => $manager,branchcode => $manager->branchcode });
50
52
51
    my ( @patrons, @holds );
53
    my ( @patrons, @holds );
52
    for my $i ( 0 .. 2 ) {
54
    for my $i ( 0 .. 2 ) {
53
- 

Return to bug 22008