From 3a39b93804236a41a14060fb4546e5d285b4d93b Mon Sep 17 00:00:00 2001 From: katarzynazawada <> Date: Wed, 24 Apr 2024 09:56:41 +0200 Subject: [PATCH] Adjusted attribute tests --- features/browser/Attributes.feature | 4 ++-- src/lib/PIM/InMemory/Data/DataProvider.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/features/browser/Attributes.feature b/features/browser/Attributes.feature index 0b88769..c4f165c 100644 --- a/features/browser/Attributes.feature +++ b/features/browser/Attributes.feature @@ -12,5 +12,5 @@ Feature: Remote PIM Scenario: Attribute can be viewed Given I open "Height" Attribute page in admin SiteAccess And I should see an Attribute with values - | Name | Identifier | Type | Group | Position | - | Height | height | integer | DEFAULT | 0 | + | Name | Identifier | Description | Type | Group | Position | + | Height | height | Description | integer | DEFAULT | 0 | diff --git a/src/lib/PIM/InMemory/Data/DataProvider.php b/src/lib/PIM/InMemory/Data/DataProvider.php index f084886..87fb657 100644 --- a/src/lib/PIM/InMemory/Data/DataProvider.php +++ b/src/lib/PIM/InMemory/Data/DataProvider.php @@ -124,7 +124,7 @@ public function getAttributeDefinitions(): MapInterface 1, 'height', 'Height', - null, + 'Description', new AttributeType('integer'), AttributeGroup::DEFAULT ), @@ -132,7 +132,7 @@ public function getAttributeDefinitions(): MapInterface 2, 'width', 'Width', - null, + 'Description', new AttributeType('integer'), AttributeGroup::DEFAULT ),