Removing bogus crud in the test.

This commit is contained in:
mark_story 2010-11-07 23:48:14 -05:00
parent 3216c902cd
commit a9a9bc0e2e

View file

@ -499,9 +499,7 @@ class ViewTest extends CakeTestCase {
function testElementCacheHelperNoCache() {
$Controller = new ViewPostsController();
$View = new TestView($Controller);
$empty = array();
$helpers = $View->loadHelpers($empty, array('cache'));
$View->loaded = $helpers;
$helpers = $View->loadHelpers();
$result = $View->element('test_element', array('ram' => 'val', 'test' => array('foo', 'bar')));
$this->assertEqual($result, 'this is the test element');
}