From 2e8421b1e0516c639a2da02210aa0d5a919b47d0 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Fri, 18 Oct 2024 14:39:48 +0000 Subject: [PATCH] Bug 37639: Adjust tests --- t/db_dependent/api/v1/items.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/db_dependent/api/v1/items.t b/t/db_dependent/api/v1/items.t index 9ba55d39d64..00fdd475224 100755 --- a/t/db_dependent/api/v1/items.t +++ b/t/db_dependent/api/v1/items.t @@ -60,7 +60,7 @@ subtest 'to_api_mapping() tests' => sub { is($mapping->{replacementpricedate}, 'replacement_price_date', 'items.replacementpricedate is mapped as replacement_price_date in to_api_mapping'); is($mapping->{datelastborrowed}, 'last_checkout_date', 'items.datelastborrowered is mapped as last_checkout_date in to_api_mapping'); is($mapping->{datelastseen}, 'last_seen_date', 'items.datelastseen is mapped as last_seen_date in to_api_mapping'); - is($mapping->{stack}, 'stack', 'items.stack is mapped as stack in to_api_mapping'); + is($mapping->{stack}, 'shelving_control_number', 'items.stack is mapped as stack in to_api_mapping'); is($mapping->{notforloan}, 'not_for_loan_status', 'items.notforloan is mapped as not_for_loan_status in to_api_mapping'); is($mapping->{damaged}, 'damaged_status', 'items.damaged is mapped as damaged_status in to_api_mapping'); is($mapping->{damaged_on}, 'damaged_date', 'items.damaged_on is mapped as damaged_date in to_api_mapping'); -- 2.39.2