View | Details | Raw Unified | Return to bug 33568
Collapse All | Expand All

(-)a/t/db_dependent/api/v1/biblios.t (-2 / +1 lines)
Lines 198-204 subtest 'get_items() tests' => sub { Link Here
198
      ->json_is( '' => [ $item_1->to_api, $item_2->to_api ], 'The items are returned' );
198
      ->json_is( '' => [ $item_1->to_api, $item_2->to_api ], 'The items are returned' );
199
199
200
    $t->get_ok(
200
    $t->get_ok(
201
        "//$userid:$password@/api/v1/biblios/" . $biblio->biblionumber . "/items" => { "x-koha-embed" => "+strings" } )
201
        "//$userid:$password@/api/v1/biblios/" . $biblio->biblionumber . "/items?_order_by=item_id" => { "x-koha-embed" => "+strings" } )
202
        ->status_is(200)
202
        ->status_is(200)
203
        ->json_has( '/0/_strings/home_library_id/str' => $item_1->holding_branch->branchname, '_strings are embedded' );
203
        ->json_has( '/0/_strings/home_library_id/str' => $item_1->holding_branch->branchname, '_strings are embedded' );
204
204
205
- 

Return to bug 33568