Bugzilla – Attachment 172980 Details for
Bug 37639
items.stack ( shelving control number ) not included in items API endpoint
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37639: Adjust tests
Bug-37639-Adjust-tests.patch (text/plain), 1.47 KB, created by
Lucas Gass (lukeg)
on 2024-10-18 14:43:06 UTC
(
hide
)
Description:
Bug 37639: Adjust tests
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2024-10-18 14:43:06 UTC
Size:
1.47 KB
patch
obsolete
>From 2e8421b1e0516c639a2da02210aa0d5a919b47d0 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 37639
:
170299
|
170328
|
170329
|
170396
|
170397
|
170458
|
170782
|
172980
|
172988
|
173615
|
173616