We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4a430a commit 8f0fb2fCopy full SHA for 8f0fb2f
src/Test/Unit/Filesystem/DirectoryListTest.php
@@ -162,6 +162,25 @@ public function getWritableDirectoriesDataProvider(): array
162
];
163
}
164
165
+ /**
166
+ * @param DirectoryList $directoryList
167
+ * @return void
168
+ * @dataProvider getDirectoryLists
169
+ */
170
+ public function testGetMountPoints(DirectoryList $directoryList)
171
+ {
172
+ $paths = [
173
+ 'app/etc',
174
+ 'pub/media',
175
+ 'pub/static',
176
+ 'var'
177
+ ];
178
+ $result = $directoryList->getMountPoints();
179
+ sort($result);
180
+ sort($paths);
181
+ $this->assertSame($paths, $result);
182
+ }
183
+
184
/**
185
* @param DirectoryList $directoryList
186
* @dataProvider getDirectoryLists
0 commit comments