Skip to content

Commit e698e71

Browse files
Igor Melnikovvrann
authored andcommitted
MAGETWO-51592: Make single tenant compiler work when Magento not installed
Removing test
1 parent 999e372 commit e698e71

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

setup/src/Magento/Setup/Test/Unit/Console/Command/DiCompileCommandTest.php

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -93,20 +93,6 @@ public function setUp()
9393
);
9494
}
9595

96-
public function testExecuteDiExists()
97-
{
98-
$diPath = '/root/magento/var/di';
99-
$this->deploymentConfigMock->expects($this->once())
100-
->method('get')
101-
->with(\Magento\Framework\Config\ConfigOptionsListConstants::KEY_MODULES)
102-
->willReturn(['Magento_Catalog' => 1]);
103-
$this->fileDriverMock->expects($this->atLeastOnce())->method('isExists')->with($diPath)->willReturn(true);
104-
$this->directoryListMock->expects($this->atLeastOnce())->method('getPath')->willReturn($diPath);
105-
$tester = new CommandTester($this->command);
106-
$tester->execute([]);
107-
$this->assertContains("delete '/root/magento/var/di'", $tester->getDisplay());
108-
}
109-
11096
public function testExecuteModulesNotEnabled()
11197
{
11298
$this->directoryListMock->expects($this->atLeastOnce())->method('getPath')->willReturn(null);

0 commit comments

Comments
 (0)