From c1bfcdf902ff63d3230405fa75cc3260bdd3f091 Mon Sep 17 00:00:00 2001
From: Martin Renvoize <martin.renvoize@ptfs-europe.com>
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 <martin.renvoize@ptfs-europe.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
---
 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.30.2