Skip to content

Commit cc5f15c

Browse files
authored
Merge pull request #7137 from magento-gl/AC1359-2
AC-1359 intergation fixed for dataset of braintree
2 parents 202bd44 + 671ff3a commit cc5f15c

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)