Lines 17-23
Link Here
|
17 |
|
17 |
|
18 |
use Modern::Perl; |
18 |
use Modern::Perl; |
19 |
|
19 |
|
20 |
use Test::More tests => 93; |
20 |
use Test::More tests => 94; |
21 |
use Test::MockModule; |
21 |
use Test::MockModule; |
22 |
use Test::Mojo; |
22 |
use Test::Mojo; |
23 |
use t::lib::Mocks; |
23 |
use t::lib::Mocks; |
Lines 170-175
$t->get_ok( "//$userid:$password@/api/v1/checkouts/" . $issue1->issue_id)
Link Here
|
170 |
->json_is('/patron_id' => $patron_id) |
170 |
->json_is('/patron_id' => $patron_id) |
171 |
->json_is('/item_id' => $item1->itemnumber) |
171 |
->json_is('/item_id' => $item1->itemnumber) |
172 |
->json_is('/due_date' => output_pref({ dateformat => "rfc3339", dt => $date_due1 }) ) |
172 |
->json_is('/due_date' => output_pref({ dateformat => "rfc3339", dt => $date_due1 }) ) |
|
|
173 |
->json_is('/checkout_type' => $issue1->checkout_type) |
173 |
->json_hasnt('/1'); |
174 |
->json_hasnt('/1'); |
174 |
|
175 |
|
175 |
$t->get_ok( "//$userid:$password@/api/v1/checkouts/" . $issue1->issue_id) |
176 |
$t->get_ok( "//$userid:$password@/api/v1/checkouts/" . $issue1->issue_id) |
176 |
- |
|
|