Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shimotmk committed Sep 10, 2024
1 parent e143e02 commit a37f3f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test-theme-media.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public function test_make_images_block_local() {

// The image should be replaced with a relative URL
$this->assertStringNotContainsString( 'http://example.com/image.jpg', $new_template->content );
$this->assertStringContainsString( 'get_stylesheet_directory_uri', $new_template->content );
$this->assertStringContainsString( 'get_template_directory_uri', $new_template->content );
$this->assertStringContainsString( '/assets/images', $new_template->content );

}
Expand Down

0 comments on commit a37f3f5

Please sign in to comment.