Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
rebeccahum committed Jun 14, 2023
1 parent 9872388 commit 0a749d0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/files/test-wp-filesystem-vip.php
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,8 @@ public function test__get_transport_for_path__uploads_streamwrapper() {
}

public function test__get_transport_for_path__uploads() {
// Now that streamwrapper is enabled by default, we need to define it as disabled for this test.
define( 'VIP_FILESYSTEM_USE_STREAM_WRAPPER', false );
$get_transport_for_path = self::get_method( 'get_transport_for_path' );

$result = $get_transport_for_path->invokeArgs( $this->filesystem, [ '/tmp/wordpress/wp-content/uploads/file.file', 'write' ] );
Expand Down

0 comments on commit 0a749d0

Please sign in to comment.