Skip to content

Commit f9236a7

Browse files
author
Joan He
committed
MAGETWO-51508: Remove multi-tenant compiler
1 parent 9e14394 commit f9236a7

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

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

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

96-
public function testExecuteDiExists()
97-
{
98-
$diPath = '/root/magento/var/di';
99-
$this->deploymentConfig->expects($this->once())->method('isAvailable')->willReturn(true);
100-
$this->fileDriver->expects($this->atLeastOnce())->method('isExists')->with($diPath)->willReturn(true);
101-
$this->directoryList->expects($this->atLeastOnce())->method('getPath')->willReturn($diPath);
102-
$tester = new CommandTester($this->command);
103-
$tester->execute([]);
104-
$this->assertContains("delete '/root/magento/var/di'", $tester->getDisplay());
105-
}
106-
10796
public function testExecuteNotInstalled()
10897
{
109-
$this->directoryList->expects($this->atLeastOnce())->method('getPath')->willReturn(null);
11098
$this->deploymentConfig->expects($this->once())->method('isAvailable')->willReturn(false);
11199
$tester = new CommandTester($this->command);
112100
$tester->execute([]);

0 commit comments

Comments
 (0)