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

(-)a/t/db_dependent/api/v1/responses.t (-3 / +2 lines)
Lines 135-142 subtest 'render_invalid_parameter_value() tests' => sub { Link Here
135
    my $path        = '/query/library';
135
    my $path        = '/query/library';
136
    my $uri         = '/api/v1/libraries';
136
    my $uri         = '/api/v1/libraries';
137
    my $field       = 'library_id';
137
    my $field       = 'library_id';
138
    my $mock_cities = Test::MockModule->new('Koha::REST::V1::CirculationRules');
138
    my $mock_circulation_rules = Test::MockModule->new('Koha::REST::V1::CirculationRules');
139
    $mock_cities->mock(
139
    $mock_circulation_rules->mock(
140
        'list_effective_rules',
140
        'list_effective_rules',
141
        sub {
141
        sub {
142
            my $c = shift->openapi->valid_input or return;
142
            my $c = shift->openapi->valid_input or return;
143
- 

Return to bug 36641