File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
lib/internal/Magento/Framework/Setup/Test/Unit Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ public function testGetInstallationWritableDirectories()
68
68
BP . '/var ' ,
69
69
BP . '/pub/media ' ,
70
70
BP . '/pub/static ' ,
71
+ BP . '/generated '
71
72
];
72
73
73
74
$ this ->assertEquals ($ expected , $ this ->filePermissions ->getInstallationWritableDirectories ());
@@ -157,6 +158,7 @@ public function testGetMissingWritableDirectoriesAndPathsForInstallation()
157
158
BP . '/var ' ,
158
159
BP . '/pub/media ' ,
159
160
BP . '/pub/static ' ,
161
+ BP . '/generated '
160
162
];
161
163
162
164
$ this ->assertEquals (
@@ -231,6 +233,11 @@ public function setUpDirectoryListInstallation()
231
233
->method ('getPath ' )
232
234
->with (DirectoryList::STATIC_VIEW )
233
235
->will ($ this ->returnValue (BP . '/pub/static ' ));
236
+ $ this ->directoryListMock
237
+ ->expects ($ this ->at (4 ))
238
+ ->method ('getPath ' )
239
+ ->with (DirectoryList::GENERATED )
240
+ ->will ($ this ->returnValue (BP . '/generated ' ));
234
241
}
235
242
236
243
public function setUpDirectoryWriteInstallation ()
You can’t perform that action at this time.
0 commit comments