wp-cli / scaffold-command

Generates code for post types, taxonomies, blocks, plugins, child themes, etc.
MIT License
165 stars 87 forks source link

Test scaffolding might be broken #152

Closed schlessera closed 6 years ago

schlessera commented 6 years ago

As reported here, Core unit tests use src/ as the ABSPATH, but WordPress has switched to using the build/ folder instead.

This will need to be fixed in Core, but that fix will then probably break WP-CLI scaffolding, which rely on src/ to replace the ABSPATH.

schlessera commented 6 years ago

The wp_tests_config_sample.php file in Core was now changed: https://github.com/WordPress/wordpress-develop/commit/f4fbba188db2f7f38abd16b8a9de4031b34d011b