PHP Class Crud\Test\TestCase\Action\EditActionTest

Inheritance: extends Crud\TestSuite\IntegrationTestCase
Afficher le fichier Open project: friendsofcake/crud

Méthodes publiques

Свойство Type Description
$fixtures array fixtures property
$tableClass string Table class to mock on

Méthodes publiques

Méthode Description
testActionGet ( ) : void Test the normal HTTP GET flow of _get
testActionGetWithQueryArgs ( ) : void Test the normal HTTP GET flow of _get with query args
testActionPost ( ) : void Test POST will create a record
testActionPostErrorSave ( ) : void Test POST with unsuccessful save()
testActionPostValidationErrors ( ) : void Test POST with validation errors

Method Details

testActionGet() public méthode

Test the normal HTTP GET flow of _get
public testActionGet ( ) : void
Résultat void

testActionGetWithQueryArgs() public méthode

Providing ?name=test should fill out the value in the 'name' input field
public testActionGetWithQueryArgs ( ) : void
Résultat void

testActionPost() public méthode

Test POST will create a record
public testActionPost ( ) : void
Résultat void

testActionPostErrorSave() public méthode

Test POST with unsuccessful save()
public testActionPostErrorSave ( ) : void
Résultat void

testActionPostValidationErrors() public méthode

Test POST with validation errors
public testActionPostValidationErrors ( ) : void
Résultat void

Property Details

$fixtures public_oe property

fixtures property
public array $fixtures
Résultat array

$tableClass public_oe property

Table class to mock on
public string $tableClass
Résultat string