File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,11 +37,12 @@ protected function setUp(): void
3737 'simpleFile ' => 'A tap-tap-tapping upon my door ' ,
3838 '.hidden ' => 'There is no spoon ' ,
3939 ];
40+
41+ helper ('filesystem ' );
4042 }
4143
4244 public function testDirectoryMapDefaults ()
4345 {
44- helper ('filesystem ' );
4546 $ this ->assertTrue (function_exists ('directory_map ' ));
4647
4748 $ expected = [
@@ -65,7 +66,6 @@ public function testDirectoryMapDefaults()
6566
6667 public function testDirectoryMapShowsHiddenFiles ()
6768 {
68- helper ('filesystem ' );
6969 $ this ->assertTrue (function_exists ('directory_map ' ));
7070
7171 $ expected = [
@@ -257,7 +257,7 @@ public function testDeleteFilesFailure()
257257
258258 public function testGetFilenames ()
259259 {
260- $ this ->assertTrue (function_exists ('delete_files ' ));
260+ $ this ->assertTrue (function_exists ('get_filenames ' ));
261261
262262 // Not sure the directory names should actually show up
263263 // here but this matches v3.x results.
@@ -279,7 +279,7 @@ public function testGetFilenames()
279279
280280 public function testGetFilenamesWithHidden ()
281281 {
282- $ this ->assertTrue (function_exists ('delete_files ' ));
282+ $ this ->assertTrue (function_exists ('get_filenames ' ));
283283
284284 // Not sure the directory names should actually show up
285285 // here but this matches v3.x results.
You can’t perform that action at this time.
0 commit comments