mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Fix code standards.
This commit is contained in:
parent
17cbcf4406
commit
5bb8c3a942
1 changed files with 2 additions and 3 deletions
|
@ -999,13 +999,12 @@ class ViewTest extends CakeTestCase {
|
|||
*
|
||||
* @return void
|
||||
*/
|
||||
public function testGetViewFileNameSubdirWithPluginAndViewPath()
|
||||
{
|
||||
public function testGetViewFileNameSubdirWithPluginAndViewPath() {
|
||||
$this->PostsController->plugin = 'TestPlugin';
|
||||
$this->PostsController->viewPath = 'Elements';
|
||||
$this->PostsController->name = 'Posts';
|
||||
$View = new TestView($this->PostsController);
|
||||
|
||||
|
||||
$expected = CAKE . 'Test' . DS . 'test_app' . DS . 'Plugin' . DS . 'TestPlugin' .
|
||||
DS . 'View' . DS . 'Elements' . DS . 'sub_dir' . DS . 'sub_element.ctp';
|
||||
$this->assertEquals($expected, $View->getViewFileName('sub_dir/sub_element'));
|
||||
|
|
Loading…
Add table
Reference in a new issue