Skip to content

Commit 63ad0ec

Browse files
committed
removing static test failures
1 parent dc011a6 commit 63ad0ec

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

app/code/Magento/Catalog/Model/Indexer/Category/Product/Action/Full.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ protected function reindex(): void
194194
};
195195
}
196196
}
197-
$this->processManager->execute($userFunctions);
197+
$this->processManager->execute($userFunctions);
198198
}
199199

200200
/**

app/code/Magento/Catalog/Test/Unit/Model/Indexer/Category/Product/TableMaintainerTest.php

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,16 @@ public function testCreateTablesForStoreCreatesMainAndReplicaWhenMissing(): void
121121
$createByDdlCall = 0;
122122
$this->adapter->expects($this->exactly(2))
123123
->method('createTableByDdl')
124-
->willReturnCallback(function ($base, $new) use ($baseReplica, $resolvedMain, $ddlMain, $ddlReplica, &$createByDdlCall) {
124+
->willReturnCallback(function (
125+
$base,
126+
$new
127+
) use (
128+
$baseReplica,
129+
$resolvedMain,
130+
$ddlMain,
131+
$ddlReplica,
132+
&$createByDdlCall
133+
) {
125134
if ($createByDdlCall === 0) {
126135
\PHPUnit\Framework\Assert::assertSame($baseReplica, $base);
127136
\PHPUnit\Framework\Assert::assertSame($resolvedMain, $new);

0 commit comments

Comments
 (0)