Remove a default helper from View.

This goes back to the days of yore and combined with
b8320fdbb7 it causes issues. The specific
issue at hand was testing a helper that uses other aliased helpers
(HtmlHelper specifically). The core helper would always be loaded
instead of the aliased one.
This commit is contained in:
mark_story 2013-09-01 21:39:50 -04:00
parent 5f4feb0729
commit 229c824da6
2 changed files with 2 additions and 3 deletions

View file

@ -975,8 +975,7 @@ class HelperTest extends CakeTestCase {
$Helper->OtherHelper;
$result = $this->View->Helpers->enabled();
$expected = array('Html');
$this->assertEquals($expected, $result, 'Helper helpers were attached to the collection.');
$this->assertEquals(array(), $result, 'Helper helpers were attached to the collection.');
}
/**

View file

@ -98,7 +98,7 @@ class View extends Object {
*
* @var mixed A single name as a string or a list of names as an array.
*/
public $helpers = array('Html');
public $helpers = array();
/**
* Path to View.