Skip to content

Commit

Permalink
Try updating constants to fix string substitution issue
Browse files Browse the repository at this point in the history
  • Loading branch information
noahtallen committed Mar 15, 2024
1 parent 9cdc936 commit 8e0ebde
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion jetpack
Submodule jetpack updated 390 files
8 changes: 4 additions & 4 deletions tests/files/test-vip-filesystem.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ class VIP_Filesystem_Test extends WP_UnitTestCase {

public static function configure_constant_mocker(): void {
Constant_Mocker::clear();
define( 'LOCAL_UPLOADS', '/wp/uploads' );
define( 'WP_CONTENT_DIR', '/wp/wordpress/wp-content' );
define( 'LOCAL_UPLOADS', '/tmp/uploads' );
define( 'WP_CONTENT_DIR', '/tmp/wordpress/wp-content' );
}

public function setUp(): void {
Expand Down Expand Up @@ -397,8 +397,8 @@ public function test_wp_font_dir() {
$font_dir = \wp_get_font_dir();

$this->assertEquals( $font_dir, [
'path' => 'vip://wp-contentt/uploads/fonts',
'basedir' => 'vip://wp-contentt/uploads/fonts',
'path' => 'vip://wp-content/uploads/fonts',
'basedir' => 'vip://wp-content/uploads/fonts',
'url' => 'http://example.org/wp-content/uploads/fonts',
'baseurl' => 'http://example.org/wp-content/uploads/fonts',
'subdir' => '',
Expand Down
2 changes: 1 addition & 1 deletion wp-parsely
Submodule wp-parsely updated 167 files

0 comments on commit 8e0ebde

Please sign in to comment.