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

(-)a/t/db_dependent/Koha/ArticleRequests.t (-2 / +1 lines)
Lines 40-46 subtest 'requested() tests' => sub { Link Here
40
    my $library_2 = $builder->build_object( { class => 'Koha::Libraries' } );
40
    my $library_2 = $builder->build_object( { class => 'Koha::Libraries' } );
41
41
42
    my $patron = $builder->build_object( { class => 'Koha::Patrons', value => { branchcode => $library_1->id, flags => 1 } } );
42
    my $patron = $builder->build_object( { class => 'Koha::Patrons', value => { branchcode => $library_1->id, flags => 1 } } );
43
    t::lib::Mocks::mock_userenv( { branchcode => $library_1 } );
43
    t::lib::Mocks::mock_userenv( { patron => $patron } );
44
44
45
    # FIXME: we moved past this pattern. This method should be refactored
45
    # FIXME: we moved past this pattern. This method should be refactored
46
    #        as ->filter_by_requested
46
    #        as ->filter_by_requested
47
- 

Return to bug 34916