Skip to content

Commit 8912370

Browse files
committed
MC-39550: Create automated test for: "Add new website to products using mass product update and run cron."
1 parent 29d4e45 commit 8912370

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

dev/tests/integration/testsuite/Magento/Catalog/Model/Attribute/Backend/ConsumerWebsiteAssignTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ protected function setUp(): void
9090
}
9191

9292
/**
93-
* @return void
93+
* @inheritdoc
9494
*/
9595
protected function tearDown(): void
9696
{

dev/tests/integration/testsuite/Magento/Catalog/_files/detach_product_website_quene_data.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
$websiteId = (int)$websiteRepository->get('second_website')->getId();
3636
$bulkDescription = __('Update attributes for ' . 1 . ' selected products');
3737
$dataToEncode = [
38-
'meta_information' => 'Update website assign',
38+
'meta_information' => 'Detach website',
3939
'product_ids' => $productIds,
4040
'store_id' => 0,
4141
'website_id' => $websiteId,
@@ -51,7 +51,7 @@
5151
'topic_name' => 'product_action_attribute.website.update',
5252
'serialized_data' => $jsonEncoder->serialize($dataToEncode),
5353
'status' => OperationInterface::STATUS_TYPE_OPEN,
54-
]
54+
],
5555
];
5656

5757
$bulkManagement->scheduleBulk(

dev/tests/integration/testsuite/Magento/Catalog/_files/update_product_website_quene_data.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
'topic_name' => 'product_action_attribute.website.update',
5353
'serialized_data' => $jsonEncoder->serialize($dataToEncode),
5454
'status' => OperationInterface::STATUS_TYPE_OPEN,
55-
]
55+
],
5656
];
5757

5858
$bulkManagement->scheduleBulk(

dev/tests/integration/testsuite/Magento/Catalog/_files/update_product_website_quene_data_rollback.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515
$deleteTopicRelatedMessages->execute('product_action_attribute.website.update');
1616

1717
Resolver::getInstance()->requireDataFixture('Magento/Catalog/_files/second_product_simple_rollback.php');
18-
Resolver::getInstance()->requireDataFixture('Magento/Store/_files/second_website_with_store_group_and_store_rollback.php');
18+
Resolver::getInstance()->requireDataFixture('Magento/Store/_files/second_website_with_two_stores_rollback.php');

0 commit comments

Comments
 (0)