Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

adding tests for plugin file structure changes

  • Loading branch information...
commit 593bec85b7adba79e10786a75fb49d6da6aeed82 1 parent 20b1dd7
@AD7six AD7six authored
Showing with 0 additions and 3 deletions.
  1. +0 −3  cake/tests/cases/console/libs/tasks/plugin.test.php
View
3  cake/tests/cases/console/libs/tasks/plugin.test.php
@@ -125,9 +125,7 @@ function testBakeFoldersAndFiles() {
$this->assertTrue(is_dir($path . DS . 'models'), 'No models dir %s');
$this->assertTrue(file_exists($path . DS . 'models' . DS . 'behaviors' . DS . 'empty'), 'No empty file %s');
$this->assertTrue(is_dir($path . DS . 'models' . DS . 'datasources'), 'No datasources dir %s');
- debug($path . DS . 'models' . DS . 'datsources' . DS . 'empty');
$this->assertTrue(file_exists($path . DS . 'models' . DS . 'datasources' . DS . 'empty'), 'No empty file %s');
- die;
$this->assertTrue(is_dir($path . DS . 'views'), 'No views dir %s');
$this->assertTrue(is_dir($path . DS . 'views' . DS . 'helpers'), 'No helpers dir %s');
@@ -183,7 +181,6 @@ function testBakeFoldersAndFiles() {
$this->assertTrue(file_exists($path . DS . 'vendors' . DS . 'img' . DS . 'empty'), 'No empty file %s');
$this->assertTrue(is_dir($path . DS . 'vendors' . DS . 'shells'), 'No vendors shells dir %s');
- $this->assertTrue(file_exists($path . DS . 'vendors' . DS . 'shells' . 'empty'), 'No empty file %s');
$this->assertTrue(is_dir($path . DS . 'vendors' . DS . 'shells' . DS . 'tasks'), 'No vendors shells tasks dir %s');
$this->assertTrue(file_exists($path . DS . 'vendors' . DS . 'shells' . DS . 'tasks' . DS . 'empty'), 'No empty file %s');
Please sign in to comment.
Something went wrong with that request. Please try again.