Skip to content

Commit 70042a6

Browse files
committed
magento/adobe-stock-integration#1724: Support batches processing for synchronization queue messages - updated publisher integration test file
1 parent 79151d6 commit 70042a6

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

app/code/Magento/MediaContentSynchronization/Test/Integration/Model/PublisherTest.php

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public function testExecute(array $contentIdentities): void
8686
$contentIdentityObject = $this->contentIdentityFactory->create($contentIdentity);
8787
$this->assertEquals([$assetId], $this->getAssetIds->execute($contentIdentityObject));
8888
$synchronizedContentIdentities = $this->getContentIdentities->execute([$assetId]);
89-
$this->assertEquals(4, count($synchronizedContentIdentities));
89+
$this->assertEquals(2, count($synchronizedContentIdentities));
9090

9191
$syncedIds = [];
9292
foreach ($synchronizedContentIdentities as $syncedContentIdentity) {
@@ -117,16 +117,6 @@ public function filesProvider(): array
117117
'entityType' => 'catalog_product',
118118
'field' => 'description',
119119
'entityId' => 1567
120-
],
121-
[
122-
'entityType' => 'cms_page',
123-
'field' => 'content',
124-
'entityId' => 5
125-
],
126-
[
127-
'entityType' => 'cms_block',
128-
'field' => 'content',
129-
'entityId' => 1
130120
]
131121
]
132122
]

0 commit comments

Comments
 (0)