Lines 38-48
subtest 'order by me.barcode should return 200' => sub {
Link Here
|
38 |
|
38 |
|
39 |
$patron->set_password( { password => $password, skip_validation => 1 } ); |
39 |
$patron->set_password( { password => $password, skip_validation => 1 } ); |
40 |
|
40 |
|
41 |
my $userid = $patron->userid; |
41 |
my $userid = $patron->userid; |
42 |
my $itemnumber = $bundle->itemnumber; |
42 |
my $itemnumber = $bundle->itemnumber; |
43 |
|
43 |
|
44 |
$t->get_ok( "//$userid:$password@/api/v1/items/$itemnumber/bundled_items?_order_by=+me.barcode" ) |
44 |
$t->get_ok("//$userid:$password@/api/v1/items/$itemnumber/bundled_items?_order_by=+me.barcode")->status_is(200); |
45 |
->status_is(200); |
|
|
46 |
|
45 |
|
47 |
$schema->storage->txn_rollback; |
46 |
$schema->storage->txn_rollback; |
48 |
}; |
47 |
}; |
49 |
- |
|
|