File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed
setup/src/Magento/Setup/Test/Unit/Console/Command Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -93,20 +93,6 @@ public function setUp()
93
93
);
94
94
}
95
95
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
-
110
96
public function testExecuteModulesNotEnabled ()
111
97
{
112
98
$ this ->directoryListMock ->expects ($ this ->atLeastOnce ())->method ('getPath ' )->willReturn (null );
You can’t perform that action at this time.
0 commit comments