mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-10 13:32:44 +00:00
Removing bogus crud in the test.
This commit is contained in:
parent
3216c902cd
commit
a9a9bc0e2e
1 changed files with 1 additions and 3 deletions
|
@ -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');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue