Skip to content

Commit

Permalink
Correct casing of class names.
Browse files Browse the repository at this point in the history
  • Loading branch information
euromark committed Oct 21, 2013
1 parent 839aecb commit fca8a01
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/Cake/Console/Command/Task/CommandTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public function getShell($commandName) {
$name = Inflector::camelize($name);
$pluginDot = Inflector::camelize($pluginDot);
$class = $name . 'Shell';
APP::uses($class, $pluginDot . 'Console/Command');
App::uses($class, $pluginDot . 'Console/Command');

$Shell = new $class();
$Shell->plugin = trim($pluginDot, '.');
Expand Down
6 changes: 3 additions & 3 deletions lib/Cake/Test/Case/Routing/Filter/AssetDispatcherTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function testAssetFilterForThemeAndPlugins() {
App::build(array(
'Plugin' => array(CAKE . 'Test' . DS . 'test_app' . DS . 'Plugin' . DS),
'View' => array(CAKE . 'Test' . DS . 'test_app' . DS . 'View' . DS)
), APP::RESET);
), App::RESET);

$request = new CakeRequest('theme/test_theme/ccss/cake.generic.css');
$event = new CakeEvent('DispatcherTest', $this, compact('request', 'response'));
Expand Down Expand Up @@ -153,7 +153,7 @@ public function test404OnDoubleDot() {
App::build(array(
'Plugin' => array(CAKE . 'Test' . DS . 'test_app' . DS . 'Plugin' . DS),
'View' => array(CAKE . 'Test' . DS . 'test_app' . DS . 'View' . DS)
), APP::RESET);
), App::RESET);

$response = $this->getMock('CakeResponse', array('_sendHeader'));
$request = new CakeRequest('theme/test_theme/../../../../../../VERSION.txt');
Expand All @@ -175,7 +175,7 @@ public function test404OnDoubleDotEncoded() {
App::build(array(
'Plugin' => array(CAKE . 'Test' . DS . 'test_app' . DS . 'Plugin' . DS),
'View' => array(CAKE . 'Test' . DS . 'test_app' . DS . 'View' . DS)
), APP::RESET);
), App::RESET);

$response = $this->getMock('CakeResponse', array('_sendHeader', 'send'));
$request = new CakeRequest('theme/test_theme/%2e./%2e./%2e./%2e./%2e./%2e./VERSION.txt');
Expand Down

0 comments on commit fca8a01

Please sign in to comment.