Lines 132-140
subtest 'render_invalid_parameter_value() tests' => sub {
Link Here
|
132 |
$authorized_patron->set_password( { password => $password, skip_validation => 1 } ); |
132 |
$authorized_patron->set_password( { password => $password, skip_validation => 1 } ); |
133 |
my $userid = $authorized_patron->userid; |
133 |
my $userid = $authorized_patron->userid; |
134 |
|
134 |
|
135 |
my $path = '/query/library'; |
135 |
my $path = '/query/library_id'; |
136 |
my $uri = '/api/v1/libraries'; |
136 |
my $uri = '/api/v1/libraries'; |
137 |
my $field = 'library_id'; |
137 |
my $field = 'library_id'; |
|
|
138 |
|
138 |
my $mock_circulation_rules = Test::MockModule->new('Koha::REST::V1::CirculationRules'); |
139 |
my $mock_circulation_rules = Test::MockModule->new('Koha::REST::V1::CirculationRules'); |
139 |
$mock_circulation_rules->mock( |
140 |
$mock_circulation_rules->mock( |
140 |
'list_effective_rules', |
141 |
'list_effective_rules', |
141 |
- |
|
|