Skip to content

Commit

Permalink
Fix code standards.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Apr 14, 2012
1 parent 17cbcf4 commit 5bb8c3a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/Cake/Test/Case/View/ViewTest.php
Expand Up @@ -999,13 +999,12 @@ public function testRenderUsingViewProperty() {
*
* @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'));
Expand Down

0 comments on commit 5bb8c3a

Please sign in to comment.