Skip to content

Commit 328d87f

Browse files
committed
B2B-2259: customAttributeMetadata GraphQl query has no cache identity
- WebAPI test CR fixes
1 parent 106172e commit 328d87f

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

app/code/Magento/EavGraphQl/Plugin/Eav/AttributePlugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class AttributePlugin
2020
* @param Attribute $subject
2121
* @param array $result
2222
*
23-
* @return Attribute
23+
* @return string[]
2424
*/
2525
public function afterGetIdentities(Attribute $subject, array $result): array
2626
{

dev/tests/api-functional/testsuite/Magento/GraphQl/Eav/CustomAttributesMetadataCacheTest.php

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -110,12 +110,13 @@ public function testCacheDifferentStores()
110110
}
111111

112112
/**
113-
* Per-store assertion helper method.
113+
* Assert attribute option labels for each store provided.
114+
*
115+
* @param array $storeOptions
116+
* @param string $storeCode
117+
* @param \Magento\Store\Api\Data\StoreInterface[] $stores
118+
* @param array $options
114119
*
115-
* @param $storeOptions
116-
* @param $storeCode
117-
* @param $stores
118-
* @param $options
119120
* @return void
120121
*/
121122
private function assertOptionValuesPerStore($storeOptions, $storeCode, $stores, $options)

0 commit comments

Comments
 (0)