Lines 72-77
subtest 'claim_returned() tests' => sub {
Link Here
|
72 |
"//$userid:$password@/api/v1/return_claims" => json => { |
72 |
"//$userid:$password@/api/v1/return_claims" => json => { |
73 |
item_id => $item->itemnumber, |
73 |
item_id => $item->itemnumber, |
74 |
charge_lost_fee => Mojo::JSON->false, |
74 |
charge_lost_fee => Mojo::JSON->false, |
|
|
75 |
refund_lost_fee => Mojo::JSON->false, |
75 |
created_by => $librarian->id, |
76 |
created_by => $librarian->id, |
76 |
notes => "This is a test note." |
77 |
notes => "This is a test note." |
77 |
} |
78 |
} |
Lines 88-93
subtest 'claim_returned() tests' => sub {
Link Here
|
88 |
"//$userid:$password@/api/v1/return_claims" => json => { |
89 |
"//$userid:$password@/api/v1/return_claims" => json => { |
89 |
item_id => $item->itemnumber, |
90 |
item_id => $item->itemnumber, |
90 |
charge_lost_fee => Mojo::JSON->false, |
91 |
charge_lost_fee => Mojo::JSON->false, |
|
|
92 |
refund_lost_fee => Mojo::JSON->false, |
91 |
created_by => $librarian->id, |
93 |
created_by => $librarian->id, |
92 |
notes => "This is a test note." |
94 |
notes => "This is a test note." |
93 |
} |
95 |
} |
Lines 101-106
subtest 'claim_returned() tests' => sub {
Link Here
|
101 |
"//$userid:$password@/api/v1/return_claims" => json => { |
103 |
"//$userid:$password@/api/v1/return_claims" => json => { |
102 |
item_id => $item->itemnumber, |
104 |
item_id => $item->itemnumber, |
103 |
charge_lost_fee => Mojo::JSON->false, |
105 |
charge_lost_fee => Mojo::JSON->false, |
|
|
106 |
refund_lost_fee => Mojo::JSON->false, |
104 |
created_by => $librarian->id, |
107 |
created_by => $librarian->id, |
105 |
notes => "This is a test note." |
108 |
notes => "This is a test note." |
106 |
} |
109 |
} |
107 |
- |
|
|