Skip to content

Commit

Permalink
Adjusted attribute tests (#7)
Browse files Browse the repository at this point in the history
Co-authored-by: katarzynazawada <>
  • Loading branch information
katarzynazawada authored Apr 24, 2024
1 parent 5d53fc0 commit c502c8d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions features/browser/Attributes.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
4 changes: 2 additions & 2 deletions src/lib/PIM/InMemory/Data/DataProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,15 +124,15 @@ public function getAttributeDefinitions(): MapInterface
1,
'height',
'Height',
null,
'Description',
new AttributeType('integer'),
AttributeGroup::DEFAULT
),
'width' => new AttributeDefinition(
2,
'width',
'Width',
null,
'Description',
new AttributeType('integer'),
AttributeGroup::DEFAULT
),
Expand Down

0 comments on commit c502c8d

Please sign in to comment.