File tree Expand file tree Collapse file tree 1 file changed +1
-20
lines changed
lib/internal/Magento/Framework/Setup/Test/Unit Expand file tree Collapse file tree 1 file changed +1
-20
lines changed Original file line number Diff line number Diff line change @@ -275,26 +275,7 @@ public function getUnnecessaryWritableDirectoriesForApplicationDataProvider()
275
275
276
276
public function setUpDirectoryListInstallation ()
277
277
{
278
- $ this ->directoryListMock
279
- ->expects ($ this ->at (0 ))
280
- ->method ('getPath ' )
281
- ->with (DirectoryList::CONFIG )
282
- ->will ($ this ->returnValue (BP . '/app/etc ' ));
283
- $ this ->directoryListMock
284
- ->expects ($ this ->at (1 ))
285
- ->method ('getPath ' )
286
- ->with (DirectoryList::VAR_DIR )
287
- ->will ($ this ->returnValue (BP . '/var ' ));
288
- $ this ->directoryListMock
289
- ->expects ($ this ->at (2 ))
290
- ->method ('getPath ' )
291
- ->with (DirectoryList::MEDIA )
292
- ->will ($ this ->returnValue (BP . '/pub/media ' ));
293
- $ this ->directoryListMock
294
- ->expects ($ this ->at (3 ))
295
- ->method ('getPath ' )
296
- ->with (DirectoryList::STATIC_VIEW )
297
- ->will ($ this ->returnValue (BP . '/pub/static ' ));
278
+ $ this ->setUpDirectoryListInstallationInProduction ();
298
279
$ this ->directoryListMock
299
280
->expects ($ this ->at (4 ))
300
281
->method ('getPath ' )
You can’t perform that action at this time.
0 commit comments