Skip to content

Commit 9474d36

Browse files
committed
B2B-2677: [MediaGallery] Implement data caching for GraphQL results on resolver level
- Fix static failures
1 parent 397c9f4 commit 9474d36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dev/tests/api-functional/testsuite/Magento/GraphQl/Catalog/ResolverCache/MediaGalleryTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ public function actionMechanismProvider(): array
348348

349349
return [
350350
'update non-gallery-related attribute via rest' => [
351-
function (ProductInterface $product) use ($productRepository) {
351+
function (ProductInterface $product) {
352352
// create an integration so that cache is not cleared in
353353
// Magento\TestFramework\Authentication\OauthHelper::_createIntegration before making the API call
354354
$integration = $this->getOauthIntegration();
@@ -371,7 +371,7 @@ function (ProductInterface $product) use ($productRepository) {
371371
false
372372
],
373373
'update gallery-related attribute via rest' => [
374-
function (ProductInterface $product) use ($productRepository, $galleryManagement) {
374+
function (ProductInterface $product) {
375375
// create an integration so that cache is not cleared in
376376
// Magento\TestFramework\Authentication\OauthHelper::_createIntegration before making the API call
377377
$integration = $this->getOauthIntegration();

0 commit comments

Comments
 (0)