From 9edbb298b85c267cb7098a0254dc5b19d896f370 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Thu, 3 Nov 2022 11:14:20 +0000 Subject: [PATCH] Bug 26635: (QA follow-up) Remove test for x-koha-av-expand header This patch updates the last remaining test that mentioned the now defunkt x-koha-av-expand header. Signed-off-by: Martin Renvoize Signed-off-by: Kyle M Hall Signed-off-by: Martin Renvoize --- t/db_dependent/Koha/REST/Plugin/Objects.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/db_dependent/Koha/REST/Plugin/Objects.t b/t/db_dependent/Koha/REST/Plugin/Objects.t index 487b9f6380..eec8e048bc 100755 --- a/t/db_dependent/Koha/REST/Plugin/Objects.t +++ b/t/db_dependent/Koha/REST/Plugin/Objects.t @@ -721,7 +721,7 @@ subtest 'objects.find helper with expanded authorised values' => sub { ->json_is( '/_str/country/category' => $cat->category_name ) ->json_is( '/_str/country/str' => $ar->lib ); - $t->get_ok( '/cities/' . $manuel->id => { 'x-koha-av-expand' => 0 } ) + $t->get_ok( '/cities/' . $manuel->id => { 'x-koha-embed' => '' } ) ->status_is(200)->json_is( '/name' => 'Manuel' ) ->json_hasnt('/_str'); -- 2.20.1