mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
Adding config/sql to plugin baking.
This commit is contained in:
parent
cbb568b3c7
commit
2e3a311b0d
2 changed files with 3 additions and 0 deletions
|
@ -143,6 +143,7 @@ class PluginTask extends Shell {
|
|||
|
||||
$Folder = new Folder($this->path . $pluginPath);
|
||||
$directories = array(
|
||||
'config' . DS . 'sql',
|
||||
'models' . DS . 'behaviors',
|
||||
'controllers' . DS . 'components',
|
||||
'views' . DS . 'helpers',
|
||||
|
|
|
@ -113,6 +113,8 @@ class PluginTaskTest extends CakeTestCase {
|
|||
|
||||
$path = $this->Task->path . 'bake_test_plugin';
|
||||
$this->assertTrue(is_dir($path), 'No plugin dir %s');
|
||||
$this->assertTrue(is_dir($path . DS . 'config'), 'No config dir %s');
|
||||
$this->assertTrue(is_dir($path . DS . 'config' . DS . 'sql'), 'No config dir %s');
|
||||
$this->assertTrue(is_dir($path . DS . 'controllers'), 'No controllers dir %s');
|
||||
$this->assertTrue(is_dir($path . DS . 'controllers' . DS .'components'), 'No components dir %s');
|
||||
$this->assertTrue(is_dir($path . DS . 'models'), 'No models dir %s');
|
||||
|
|
Loading…
Add table
Reference in a new issue