Skip to content

Commit

Permalink
Fixing some helper and views related tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Dec 22, 2010
1 parent 57e6ac7 commit 5e6926f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Cake/tests/cases/libs/view/helper.test.php
Expand Up @@ -554,7 +554,7 @@ function testAssetTimestampPluginsAndThemes() {
Configure::write('Asset.timestamp', 'force');
App::build(array(
'plugins' => array(LIBS . 'tests' . DS . 'test_app' . DS . 'plugins' . DS),
'views' => array(LIBS . 'tests' . DS . 'test_app' . DS . 'views' . DS),
'View' => array(LIBS . 'tests' . DS . 'test_app' . DS . 'views' . DS),
));

$result = $this->Helper->assetTimestamp('/test_plugin/css/test_plugin_asset.css');
Expand Down Expand Up @@ -793,7 +793,7 @@ function testWebrootPaths() {
$this->Helper->theme = 'test_theme';

App::build(array(
'views' => array(LIBS . 'tests' . DS . 'test_app' . DS . 'views'. DS)
'View' => array(LIBS . 'tests' . DS . 'test_app' . DS . 'views'. DS)
));

$result = $this->Helper->webroot('/img/cake.power.gif');
Expand Down
1 change: 1 addition & 0 deletions lib/Cake/tests/cases/libs/view/helpers/form.test.php
Expand Up @@ -25,6 +25,7 @@
App::uses('CakeRequest', 'Network');
App::uses('HtmlHelper', 'View/Helper');
App::uses('FormHelper', 'View/Helper');
App::uses('Router', 'Routing');

/**
* ContactTestController class
Expand Down
Expand Up @@ -17,4 +17,5 @@
* @since CakePHP(tm) v 1.2.0.4206
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
App::uses('AppHelper', 'View/Helper');
class OtherHelperHelper extends AppHelper {}

0 comments on commit 5e6926f

Please sign in to comment.