Skip to content

Commit 883d9f5

Browse files
author
Oleksii Lisovyi
committed
Sales - fix displaying available allowed countries while editing order address in Admin panel
- fixed unit test
1 parent d617c3c commit 883d9f5

File tree

1 file changed

+5
-0
lines changed
  • app/code/Magento/Sales/Test/Unit/Block/Adminhtml/Order/Address

1 file changed

+5
-0
lines changed

Diff for: app/code/Magento/Sales/Test/Unit/Block/Adminhtml/Order/Address/FormTest.php

+5
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,11 @@ protected function setUp()
9595
'_orderCreate' => $this->orderCreate
9696
]
9797
);
98+
99+
// Do not display VAT validation button on edit order address form
100+
// Emulate fix done in controller
101+
/** @see \Magento\Sales\Controller\Adminhtml\Order\Address::execute */
102+
$this->addressBlock->setDisplayVatValidationButton(false);
98103
}
99104

100105
public function testGetForm()

0 commit comments

Comments
 (0)