Skip to content

Commit 5ae344e

Browse files
authored
Merge pull request #7327 from magento-gl/beta-sync
Beta to develop sync
2 parents 262abfe + 42b4e80 commit 5ae344e

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

app/code/Magento/Catalog/Setup/Patch/Data/UpdateMultiselectAttributesBackendTypes.php

+5-4
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,10 @@ public function getAliases()
5959
public function apply()
6060
{
6161
$this->dataSetup->startSetup();
62+
$setup = $this->dataSetup;
63+
$connection = $setup->getConnection();
6264

63-
$connection = $this->dataSetup->getConnection();
64-
$attributeTable = $connection->getTableName('eav_attribute');
65+
$attributeTable = $setup->getTable('eav_attribute');
6566
/** @var EavSetup $eavSetup */
6667
$eavSetup = $this->eavSetupFactory->create(['setup' => $this->dataSetup]);
6768
$entityTypeId = $eavSetup->getEntityTypeId(Product::ENTITY);
@@ -74,8 +75,8 @@ public function apply()
7475
->where('frontend_input = ?', 'multiselect')
7576
);
7677

77-
$varcharTable = $connection->getTableName('catalog_product_entity_varchar');
78-
$textTable = $connection->getTableName('catalog_product_entity_text');
78+
$varcharTable = $setup->getTable('catalog_product_entity_varchar');
79+
$textTable = $setup->getTable('catalog_product_entity_text');
7980
$varcharTableDataSql = $connection
8081
->select()
8182
->from($varcharTable)

app/code/Magento/MessageQueue/Test/Unit/Console/StartConsumerCommandTest.php

+6-6
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,12 @@ protected function setUp(): void
102102
*/
103103
public function testExecute(
104104
?string $pidFilePath,
105-
bool $singleThread,
106-
?int $multiProcess,
107-
int $lockExpects,
108-
bool $isLocked,
109-
int $unlockExpects,
110-
int $runProcessExpects,
105+
bool $singleThread,
106+
?int $multiProcess,
107+
int $lockExpects,
108+
bool $isLocked,
109+
int $unlockExpects,
110+
int $runProcessExpects,
111111
int $expectedReturn
112112
): void {
113113
$areaCode = 'area_code';

0 commit comments

Comments
 (0)