Skip to content

Commit f656e14

Browse files
Merge pull request #471 from magento-firedrakes/MTA-3802
Fixed issue: - MTA-3802: Wrong fail of Magento Health Index - CHI: Undefined offset in ClassScanner.php
2 parents c0f4002 + e2907d3 commit f656e14

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/code/Magento/Catalog/Test/Unit/Model/Indexer/Product/Flat/FlatTableBuilderTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public function testBuild()
141141
[$tableName],
142142
['catalog_product_website']
143143
)
144-
->willReturn(
144+
->willReturnOnConsecutiveCalls(
145145
$tableName,
146146
'catalog_product_website'
147147
);
@@ -184,12 +184,12 @@ public function testBuild()
184184
],
185185
[
186186
$temporaryTableName,
187-
"e.{$linkField} = ${temporaryTableName}.{$linkField}",
187+
"e.{$linkField} = {$temporaryTableName}.{$linkField}",
188188
[$linkField]
189189
],
190190
[
191191
$temporaryValueTableName,
192-
"e.${linkField} = " . $temporaryValueTableName . ".${linkField}",
192+
"e.{$linkField} = " . $temporaryValueTableName . ".{$linkField}",
193193
[$linkField]
194194
]
195195
)->willReturnSelf();

0 commit comments

Comments
 (0)