Skip to content

Commit a6e29c2

Browse files
committed
Adapt functional test to account for changed theme function
1 parent dcb19de commit a6e29c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

features/scaffold-block.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,11 +173,11 @@ Feature: WordPress block code scaffolding
173173
"""
174174
And the {PLUGIN_DIR}/blocks/plugin-block.php file should not contain:
175175
"""
176-
get_template_directory
176+
get_stylesheet_directory
177177
"""
178178
And the {THEME_DIR}/blocks/theme-block.php file should contain:
179179
"""
180-
get_template_directory
180+
get_stylesheet_directory
181181
"""
182182
And the {THEME_DIR}/blocks/theme-block.php file should not contain:
183183
"""

0 commit comments

Comments
 (0)