1 | <?php |
||
3 | class DMSFilesystemTestHelper |
||
4 | { |
||
5 | /** |
||
6 | * Files that are added to the DMS asset directory by the DMS instance. They will be removed after running tests. |
||
7 | * |
||
8 | * @var array |
||
9 | */ |
||
10 | protected static $dmsFiles = array('.htaccess', 'web.config'); |
||
11 | |||
12 | /** |
||
13 | * Deletes a directory and all files within it, or a file. Will automatically prepend the base path. |
||
14 | * |
||
15 | * This only work while a unit test is running for safety reasons. |
||
16 | * |
||
17 | * @param string $path |
||
18 | */ |
||
19 | public static function delete($path) |
||
42 | } |
||
43 |