-
Notifications
You must be signed in to change notification settings - Fork 85
Closed
Labels
bugcommand:scaffold-plugin-testsRelated to 'scaffold plugin-tests' commandRelated to 'scaffold plugin-tests' command
Description
Given a plugin: plugins/foo/bar.php, if you run wp scaffold plugin-tests foo, tests/bootstrap.php will generate this:
/**
* Manually load the plugin being tested.
*/
function _manually_load_plugin() {
require dirname( dirname( __FILE__ ) ) . '/foo.php';
}Expected:
/**
* Manually load the plugin being tested.
*/
function _manually_load_plugin() {
require dirname( dirname( __FILE__ ) ) . '/bar.php';
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugcommand:scaffold-plugin-testsRelated to 'scaffold plugin-tests' commandRelated to 'scaffold plugin-tests' command