Skip to content

Commit 43911bb

Browse files
author
Ivan Gavryshko
committed
MAGETWO-35137: Add deployment configuration set command
- fixed test
1 parent 782bee9 commit 43911bb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dev/tests/integration/testsuite/Magento/Setup/Model/ConfigOptionsListCollectorTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ public function testCollectOptionsLists()
2525
{
2626
$objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager();
2727
$fullModuleListMock = $this->getMock('Magento\Framework\Module\FullModuleList', [], [], '', false);
28-
$fullModuleListMock->expects($this->once())->method('getNames');
28+
$fullModuleListMock->expects($this->once())->method('getNames')->willReturn(['Magento_Backend']);
29+
2930
/** @var \Magento\Setup\Model\ConfigOptionsListCollector $object */
3031
$object = $objectManager->create(
3132
'Magento\Setup\Model\ConfigOptionsListCollector',

0 commit comments

Comments
 (0)