PHP Class App\Test\TestCase\Controller\PagesControllerTest

Inheritance: extends Cake\TestSuite\IntegrationTestCase
Show file Open project: cakephp/app

Public Methods

Method Description
testDirectoryTraversalProtection ( ) : void Test directory traversal protection
testDisplay ( ) : void testDisplay method
testMissingTemplate ( ) : void Test that missing template renders 404 page in production
testMissingTemplateInDebug ( ) : void Test that missing template in debug mode renders missing_template error page
testMultipleGet ( ) : void testMultipleGet method

Method Details

testDirectoryTraversalProtection() public method

Test directory traversal protection

testDisplay() public method

testDisplay method
public testDisplay ( ) : void
return void

testMissingTemplate() public method

Test that missing template renders 404 page in production
public testMissingTemplate ( ) : void
return void

testMissingTemplateInDebug() public method

Test that missing template in debug mode renders missing_template error page
public testMissingTemplateInDebug ( ) : void
return void

testMultipleGet() public method

testMultipleGet method
public testMultipleGet ( ) : void
return void