Skip to content

Commit d9e9075

Browse files
committed
magento/adobe-stock-integration#1724: Support batches processing for synchronization queue messages - fixed failed static test
1 parent d5276dd commit d9e9075

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

app/code/Magento/MediaContentSynchronization/Model/SynchronizeIdentities.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@ public function execute(array $mediaContentIdentities): void
8787
|| $identity[self::MEDIA_CONTENT_TYPE] === self::FIELD_CMS_BLOCK
8888
) {
8989
$content = $this->getCmsMediaContent(
90-
$identity[self::MEDIA_CONTENT_TYPE], $identity[self::MEDIA_CONTENT_ENTITY_ID]
90+
$identity[self::MEDIA_CONTENT_TYPE],
91+
$identity[self::MEDIA_CONTENT_ENTITY_ID]
9192
);
9293
} else {
9394
$content = implode(PHP_EOL, $this->getEntityContents->execute($contentIdentity));

app/code/Magento/MediaContentSynchronization/composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"require": {
55
"php": "~7.3.0||~7.4.0",
66
"magento/framework": "*",
7+
"magento/framework-bulk": "*",
78
"magento/module-media-content-synchronization-api": "*",
89
"magento/framework-message-queue": "*",
910
"magento/module-media-content-api": "*",

0 commit comments

Comments
 (0)