diff --git a/CHANGELOG.md b/CHANGELOG.md index a4618cf4e..4a08ab7b4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -61,6 +61,7 @@ * Implement action to clear rollover adjustment in the PO Line form. Refs UIOR-1484. * Display the actual estimated price on PO line edit screen with rollover adjustment. Refs UIOR-1502. * Fix permission error for edit custom-fields. Refs UIOR-1513. +* Reflect changes of tenant addresses API. Refs UIOR-1508. ## [8.0.5](https://github.com/folio-org/ui-orders/tree/v8.0.5) (2025-06-30) [Full Changelog](https://github.com/folio-org/ui-orders/compare/v8.0.4...v8.0.5) diff --git a/package.json b/package.json index 0e0b2bc77..7dedceeb2 100644 --- a/package.json +++ b/package.json @@ -59,6 +59,7 @@ "search-inventory": "1.0", "tags": "1.0", "template-engine": "2.0", + "tenant-addresses": "1.0", "titles": "1.2", "users": "15.0 16.0" }, @@ -139,7 +140,6 @@ "isbn-utils.convert-to-13.get", "isbn-utils.validator.get", "mod-settings.global.read.ui-tags.tags.manage", - "mod-settings.global.read.ui-tenant-settings.addresses.manage", "note.types.collection.get", "note.links.collection.get", "organizations.organizations.collection.get", @@ -148,6 +148,7 @@ "search.facets.collection.get", "tags.collection.get", "tags.item.post", + "tenant-addresses.collection.get", "usergroups.collection.get", "users.collection.get", "users.item.get" diff --git a/test/bigtest/tests/details-order-test.js b/test/bigtest/tests/details-order-test.js index dd3527d74..d8b2774a7 100644 --- a/test/bigtest/tests/details-order-test.js +++ b/test/bigtest/tests/details-order-test.js @@ -5,10 +5,7 @@ import { } from '@bigtest/mocha'; import { expect } from 'chai'; -import { - SETTINGS_ENTRIES_API, - SETTINGS_SCOPES, -} from '@folio/stripes-acq-components'; +import { TENANT_ADDRESSES_API } from '@folio/stripes-acq-components'; import { ORDER_TYPE, @@ -36,12 +33,9 @@ describe('Order Details Page', function () { let configs = null; beforeEach(async function () { - configs = this.server.create(SETTINGS_ENTRIES_API, { - scope: SETTINGS_SCOPES.TENANT_ADDRESSES, - value: { - address: 'TEST ADDRESS', - name: 'ADDRESS NAME', - }, + configs = this.server.create(TENANT_ADDRESSES_API, { + address: 'TEST ADDRESS', + name: 'ADDRESS NAME', }); vendor = this.server.create('vendor'); order = this.server.create('order', {