Browse Source

update test name that mixed the missing_view and missing_template

antograssiot 10 years ago
parent
commit
87544c6759
1 changed files with 4 additions and 4 deletions
  1. 4 4
      tests/TestCase/Controller/PagesControllerTest.php

+ 4 - 4
tests/TestCase/Controller/PagesControllerTest.php

@@ -47,13 +47,13 @@ class PagesControllerTest extends TestCase
     }
 
     /**
-     * Test that missing view renders 404 page in production
+     * Test that missing template renders 404 page in production
      *
      * @expectedException \Cake\Network\Exception\NotFoundException
      * @expectedExceptionCode 404
      * @return void
      */
-    public function testMissingView()
+    public function testMissingTemplate()
     {
         Configure::write('debug', false);
         $Pages = new PagesController(new Request(), new Response());
@@ -61,13 +61,13 @@ class PagesControllerTest extends TestCase
     }
 
     /**
-     * Test that missing view in debug mode renders missing_view error page
+     * Test that missing template in debug mode renders missing_template error page
      *
      * @expectedException \Cake\View\Exception\MissingTemplateException
      * @expectedExceptionCode 500
      * @return void
      */
-    public function testMissingViewInDebug()
+    public function testMissingTemplateInDebug()
     {
         Configure::write('debug', true);
         $Pages = new PagesController(new Request(), new Response());