Skip to content

Commit 5e4d0cf

Browse files
author
Dmytro Poperechnyy
committed
MAGETWO-26762: Default Exception Handler for Controllers
- Stabilize unit tests;
1 parent edc3be2 commit 5e4d0cf

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/internal/Magento/Framework/App/Test/Unit/Action/AbstractActionTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,7 @@ public function setUp()
5151
->method('getResultRedirectFactory')
5252
->willReturn($this->redirectFactory);
5353

54-
$this->action = $this->getMockForAbstractClass('Magento\Framework\App\Action\AbstractAction',
55-
[$this->request, $this->response, $this->context]
56-
);
54+
$this->action = $this->getMockForAbstractClass('Magento\Framework\App\Action\AbstractAction', [$this->context]);
5755
}
5856

5957
public function testGetDefaultRedirect()

0 commit comments

Comments
 (0)