Skip to content

Commit

Permalink
Use our own directories method
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Fusco <[email protected]>
  • Loading branch information
josephfusco committed Nov 16, 2023
1 parent de8b873 commit f20b5f4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions plugins/faustwp/tests/unit/BlockFunctionTests.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,7 @@ public function test_define_directories() {
* Test ensure_directories_exist for existing directories.
*/
public function test_ensure_directories_exist() {
$dirs = [
'target' => '/path/to/target',
'temp' => '/path/to/temp'
];
$dirs = Blocks\define_directories();

$filesystem = Mockery::mock( 'WP_Filesystem_Base' );
$filesystem->shouldReceive( 'is_dir' )->andReturn( true );
Expand Down

0 comments on commit f20b5f4

Please sign in to comment.