Skip to content

Commit 8d00e59

Browse files
author
Bohdan Korablov
committed
MAGETWO-89315: Magento application compatible with cloud
1 parent 1275258 commit 8d00e59

File tree

1 file changed

+1
-20
lines changed

1 file changed

+1
-20
lines changed

lib/internal/Magento/Framework/Setup/Test/Unit/FilePermissionsTest.php

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -275,26 +275,7 @@ public function getUnnecessaryWritableDirectoriesForApplicationDataProvider()
275275

276276
public function setUpDirectoryListInstallation()
277277
{
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();
298279
$this->directoryListMock
299280
->expects($this->at(4))
300281
->method('getPath')

0 commit comments

Comments
 (0)