mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fix a few more standards errors.
This commit is contained in:
parent
edd54e4ddf
commit
714ec60507
1 changed files with 1 additions and 14 deletions
|
@ -177,19 +177,6 @@ class TestView extends View {
|
|||
return $this->_paths($plugin, $cached);
|
||||
}
|
||||
|
||||
/**
|
||||
* _render wrapper for testing (temporary).
|
||||
*
|
||||
* @param string $___viewFn
|
||||
* @param string $___dataForView
|
||||
* @param string $loadHelpers
|
||||
* @param string $cached
|
||||
* @return void
|
||||
*/
|
||||
public function render_($___viewFn, $___dataForView, $loadHelpers = true, $cached = false) {
|
||||
return $this->_render($___viewFn, $___dataForView, $loadHelpers, $cached);
|
||||
}
|
||||
|
||||
/**
|
||||
* Test only function to return instance scripts.
|
||||
*
|
||||
|
@ -774,7 +761,7 @@ class ViewTest extends CakeTestCase {
|
|||
*
|
||||
* @return void
|
||||
*/
|
||||
public function test__get() {
|
||||
public function testMagicGet() {
|
||||
$View = new View($this->PostsController);
|
||||
$View->loadHelper('Html');
|
||||
$this->assertInstanceOf('HtmlHelper', $View->Html);
|
||||
|
|
Loading…
Reference in a new issue