Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit de2fcaf

Browse files
author
Dmytro Yushkin
committed
MAGETWO-62807: Case information block on order details page in admin panel
- Fixed integration tests
1 parent 73cfff7 commit de2fcaf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Block/Adminhtml/CaseInfoTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
*/
66
namespace Magento\Signifyd\Block\Adminhtml;
77

8+
use Magento\Backend\Block\Template;
89
use Magento\Framework\App\RequestInterface;
910
use Magento\Framework\ObjectManagerInterface;
1011
use Magento\Framework\View\Element\Template\Context;
1112
use Magento\Framework\View\LayoutInterface;
12-
use Magento\Sales\Block\Adminhtml\Order\View\AdditionalInfo as OrderAdditionalInfo;
1313
use Magento\Sales\Model\Order;
1414
use Magento\Sales\Model\OrderRepository;
1515
use Magento\TestFramework\Helper\Bootstrap;
@@ -174,8 +174,8 @@ private function getBlockContents()
174174
$block = $this->layout->createBlock(CaseInfo::class, 'order_case_info', ['context' => $this->getContext()]);
175175
$block->setTemplate('Magento_Signifyd::case_info.phtml');
176176

177-
/** @var OrderAdditionalInfo $parent */
178-
$parent = $this->layout->createBlock(OrderAdditionalInfo::class, 'order_additional_info');
177+
/** @var Template $parent */
178+
$parent = $this->layout->createBlock(Template::class, 'order_additional_info');
179179
$parent->setChild('order_case_info', $block);
180180

181181
return $block->toHtml();

0 commit comments

Comments
 (0)