We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07d43db commit af15ed0Copy full SHA for af15ed0
dev/tests/integration/testsuite/Magento/Sales/Block/Adminhtml/Order/Create/Billing/Method/FormTest.php
@@ -45,6 +45,8 @@ public function testContentUpdated()
45
$block = $this->layout->createBlock(Form::class, 'order_billing_method');
46
$block->setTemplate('Magento_Sales::order/create/billing/method/form.phtml');
47
48
- $this->assertContains('mage.apply()', $block->toHtml());
+ $html = $block->toHtml();
49
+ $this->assertContains('mage.apply()', $html);
50
+ $this->assertContains("order.setPaymentMethod('" . $block->escapeHtml($block->getSelectedMethodCode()) . "')", $html);
51
}
52
0 commit comments