Lines 200-208
subtest 'summary' => sub {
Link Here
|
200 |
{ |
200 |
{ |
201 |
'total' => '0.5', |
201 |
'total' => '0.5', |
202 |
'credit_type' => { |
202 |
'credit_type' => { |
203 |
'description' => 'A refund applied to a patrons fine' |
203 |
'description' => 'Refund' |
204 |
}, |
204 |
}, |
205 |
'credit_type_code' => 'REFUND' |
205 |
'credit_type_code' => 'REFUND', |
|
|
206 |
'related_debit' => { |
207 |
'debit_type_code' => 'LOST', |
208 |
'debit_type' => { |
209 |
'description' => 'Lost item' |
210 |
} |
211 |
} |
206 |
}; |
212 |
}; |
207 |
|
213 |
|
208 |
$expected_total += $expected_income_total; |
214 |
$expected_total += $expected_income_total; |
Lines 322-330
subtest 'summary' => sub {
Link Here
|
322 |
{ |
328 |
{ |
323 |
'total' => '1', |
329 |
'total' => '1', |
324 |
'credit_type' => { |
330 |
'credit_type' => { |
325 |
'description' => 'A refund applied to a patrons fine' |
331 |
'description' => 'Refund' |
326 |
}, |
332 |
}, |
327 |
'credit_type_code' => 'REFUND' |
333 |
'credit_type_code' => 'REFUND', |
|
|
334 |
'related_debit' => { |
335 |
'debit_type_code' => 'ACCOUNT', |
336 |
'debit_type' => { |
337 |
'description' => 'Account creation fee' |
338 |
} |
339 |
} |
328 |
}; |
340 |
}; |
329 |
|
341 |
|
330 |
$expected_total += $expected_income_total; |
342 |
$expected_total += $expected_income_total; |
331 |
- |
|
|