Skip to content

Commit 34c04f6

Browse files
authored
Merge pull request #7151 from magento-gl/2.4.4-beta-sync
2.4.4 beta sync
2 parents d3112e5 + a852720 commit 34c04f6

File tree

1 file changed

+3
-0
lines changed
  • dev/tests/integration/testsuite/Magento/Test/Integrity/Magento/Payment

1 file changed

+3
-0
lines changed

dev/tests/integration/testsuite/Magento/Test/Integrity/Magento/Payment/MethodsTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ public function testPaymentMethod($code, $methodClass)
6464
->setMode(State::MODE_DEVELOPER);
6565
$this->assertNotEmpty($model->getTitle());
6666
foreach ([$model->getFormBlockType(), $model->getInfoBlockType()] as $blockClass) {
67+
if (is_array($blockClass)) {
68+
$blockClass=$blockClass['instance'] ?? '';
69+
}
6770
$message = "Block class: {$blockClass}";
6871
/** @var $block \Magento\Framework\View\Element\Template */
6972
$block = $blockFactory->createBlock($blockClass);

0 commit comments

Comments
 (0)