File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
src/Magento/MagentoCloud/Test/Unit/Process/Deploy Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -52,9 +52,7 @@ protected function setUp()
52
52
$ this ->fileMock = $ this ->createMock (File::class);
53
53
$ this ->shellMock = $ this ->getMockForAbstractClass (ShellInterface::class);
54
54
$ this ->loggerMock = $ this ->getMockForAbstractClass (LoggerInterface::class);
55
- $ this ->directoryListMock = $ this ->getMockBuilder (DirectoryList::class)
56
- ->disableOriginalConstructor ()
57
- ->getMock ();
55
+ $ this ->directoryListMock = $ this ->createMock (DirectoryList::class);
58
56
59
57
$ this ->process = new Setup (
60
58
$ this ->loggerMock ,
Original file line number Diff line number Diff line change @@ -55,9 +55,7 @@ protected function setUp()
55
55
$ this ->environmentMock = $ this ->getMockBuilder (Environment::class)
56
56
->disableOriginalConstructor ()
57
57
->getMock ();
58
- $ this ->directoryListMock = $ this ->getMockBuilder (DirectoryList::class)
59
- ->disableOriginalConstructor ()
60
- ->getMock ();
58
+ $ this ->directoryListMock = $ this ->createMock (DirectoryList::class);
61
59
62
60
$ this ->process = new RestoreWritableDirectories (
63
61
$ this ->loggerMock ,
You can’t perform that action at this time.
0 commit comments