Lines 217-229
subtest 'GetPatronInfo/GetBorrowerAttributes test for extended patron attributes
Link Here
|
217 |
|
217 |
|
218 |
# Build a structure for comparison: |
218 |
# Build a structure for comparison: |
219 |
my $cmp = { |
219 |
my $cmp = { |
220 |
category_code => $attr_type_visible->{'category_code'}, |
220 |
borrowernumber => $brwr->{borrowernumber}, |
221 |
class => $attr_type_visible->{'class'}, |
|
|
222 |
code => $attr_shown->{'code'}, |
223 |
description => $attr_type_visible->{'description'}, |
224 |
display_checkout => $attr_type_visible->{'display_checkout'}, |
225 |
value => $attr_shown->{'attribute'}, |
221 |
value => $attr_shown->{'attribute'}, |
226 |
value_description => undef, |
222 |
value_description => $attr_shown->{'attribute'}, |
|
|
223 |
%$attr_type_visible, |
224 |
%$attr_shown, |
227 |
}; |
225 |
}; |
228 |
|
226 |
|
229 |
is( $reply->{'charges'}, '10.00', |
227 |
is( $reply->{'charges'}, '10.00', |
230 |
- |
|
|