Lines 721-727
subtest 'objects.find helper with expanded authorised values' => sub {
Link Here
|
721 |
->json_is( '/_str/country/category' => $cat->category_name ) |
721 |
->json_is( '/_str/country/category' => $cat->category_name ) |
722 |
->json_is( '/_str/country/str' => $ar->lib ); |
722 |
->json_is( '/_str/country/str' => $ar->lib ); |
723 |
|
723 |
|
724 |
$t->get_ok( '/cities/' . $manuel->id => { 'x-koha-av-expand' => 0 } ) |
724 |
$t->get_ok( '/cities/' . $manuel->id => { 'x-koha-embed' => '' } ) |
725 |
->status_is(200)->json_is( '/name' => 'Manuel' ) |
725 |
->status_is(200)->json_is( '/name' => 'Manuel' ) |
726 |
->json_hasnt('/_str'); |
726 |
->json_hasnt('/_str'); |
727 |
|
727 |
|
728 |
- |
|
|