8 'When no penalty on the account, it does not return MAX_ITEMS failure'
9 ) FROM action.item_user_circ_test(
14 -- Add a PATRON_EXCEEDS_OVERDUE_COUNT standing penalty to this patron
15 -- at the circulating org_unit
16 INSERT INTO actor.usr_standing_penalty (id, org_unit, usr, standing_penalty)
21 2 -- penalty (PATRON_EXCEEDS_OVERDUE_COUNT)
26 'PATRON_EXCEEDS_OVERDUE_COUNT',
27 'When patron has the PATRON_EXCEEDS_OVERDUE_COUNT penalty, it returns a descriptive failure'
28 ) FROM action.item_user_circ_test(
33 -- Let's try again, this time with the PATRON_EXCEEDS_OVERDUE_COUNT
34 -- standing penalty at the consortium level
35 UPDATE actor.usr_standing_penalty
41 'PATRON_EXCEEDS_OVERDUE_COUNT',
42 'When patron has the PATRON_EXCEEDS_OVERDUE_COUNT penalty, it returns a descriptive failure'
43 ) FROM action.item_user_circ_test(