Skip to content

Commit 155eb77

Browse files
committed
#11380: Payment Method Issue in Admin
1 parent af15ed0 commit 155eb77

File tree

1 file changed

+4
-1
lines changed
  • dev/tests/integration/testsuite/Magento/Sales/Block/Adminhtml/Order/Create/Billing/Method

1 file changed

+4
-1
lines changed

dev/tests/integration/testsuite/Magento/Sales/Block/Adminhtml/Order/Create/Billing/Method/FormTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ public function testContentUpdated()
4747

4848
$html = $block->toHtml();
4949
$this->assertContains('mage.apply()', $html);
50-
$this->assertContains("order.setPaymentMethod('" . $block->escapeHtml($block->getSelectedMethodCode()) . "')", $html);
50+
$this->assertContains(
51+
"order.setPaymentMethod('" . $block->escapeHtml($block->getSelectedMethodCode()) . "')",
52+
$html
53+
);
5154
}
5255
}

0 commit comments

Comments
 (0)