|
Lines 18-24
Link Here
|
| 18 |
use Modern::Perl; |
18 |
use Modern::Perl; |
| 19 |
|
19 |
|
| 20 |
use Test::NoWarnings; |
20 |
use Test::NoWarnings; |
| 21 |
use Test::More tests => 109; |
21 |
use Test::More tests => 111; |
| 22 |
use Test::MockModule; |
22 |
use Test::MockModule; |
| 23 |
use Test::Mojo; |
23 |
use Test::Mojo; |
| 24 |
use t::lib::Mocks; |
24 |
use t::lib::Mocks; |
|
Lines 228-233
$t->get_ok( "//$userid:$password@/api/v1/checkouts/" . $issue2->issue_id . "/all
Link Here
|
| 228 |
} |
228 |
} |
| 229 |
); |
229 |
); |
| 230 |
|
230 |
|
|
|
231 |
#Confirm we can get a checkout with a note |
| 232 |
$issue1->note("Test")->notedate( dt_from_string() )->store; |
| 233 |
$t->get_ok("//$userid:$password@/api/v1/checkouts")->status_is(200); |
| 234 |
|
| 231 |
$schema->storage->txn_rollback; |
235 |
$schema->storage->txn_rollback; |
| 232 |
|
236 |
|
| 233 |
subtest 'get_availability' => sub { |
237 |
subtest 'get_availability' => sub { |
| 234 |
- |
|
|