From a37f3f55254668810b11d3666bcc6b26cd0f0a77 Mon Sep 17 00:00:00 2001 From: shimotmk Date: Tue, 10 Sep 2024 14:30:05 +0900 Subject: [PATCH] fix --- tests/test-theme-media.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test-theme-media.php b/tests/test-theme-media.php index 259165a1..0671a6d6 100644 --- a/tests/test-theme-media.php +++ b/tests/test-theme-media.php @@ -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 ); }