Skip to content

Commit 97dd098

Browse files
committed
B2B-2259: customAttributeMetadata GraphQl query has no cache identity
- WebAPI test
1 parent 9d0c364 commit 97dd098

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public function testCacheDifferentStores()
104104
$options = $response['body']['customAttributeMetadata']['items'][0]['attribute_options'];
105105
$this->assertOptionValuesPerStore($storeOptions, 'default', $stores, $options);
106106

107-
$response = $this->assertCacheHitAndReturnResponse($query, []);
107+
$response = $this->assertCacheHitAndReturnResponse($query, ['Store' => 'default']);
108108
$options = $response['body']['customAttributeMetadata']['items'][0]['attribute_options'];
109109
$this->assertOptionValuesPerStore($storeOptions, 'default', $stores, $options);
110110
}

0 commit comments

Comments
 (0)