Skip to content

Commit 79f3fc8

Browse files
committed
Update test constructor to include new parameter
1 parent ad381ef commit 79f3fc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Indexer/Test/Unit/Controller/Adminhtml/Indexer/MassInvalidateTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ protected function setUp()
172172
*/
173173
public function testExecute($indexerIds, $exception)
174174
{
175-
$this->controller = new \Magento\Indexer\Controller\Adminhtml\Indexer\MassInvalidate($this->contextMock);
175+
$this->controller = new \Magento\Indexer\Controller\Adminhtml\Indexer\MassInvalidate($this->contextMock, $this->indexReg);
176176
$this->request->expects($this->any())
177177
->method('getParam')->with('indexer_ids')
178178
->will($this->returnValue($indexerIds));

0 commit comments

Comments
 (0)