PHP Класс Crud\Test\TestCase\Action\EditActionTest

Наследование: extends Crud\TestSuite\IntegrationTestCase
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$fixtures array fixtures property
$tableClass string Table class to mock on

Открытые методы

Метод Описание
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

Описание методов

testActionGet() публичный Метод

Test the normal HTTP GET flow of _get
public testActionGet ( ) : void
Результат void

testActionGetWithQueryArgs() публичный Метод

Providing ?name=test should fill out the value in the 'name' input field
public testActionGetWithQueryArgs ( ) : void
Результат void

testActionPost() публичный Метод

Test POST will create a record
public testActionPost ( ) : void
Результат void

testActionPostErrorSave() публичный Метод

Test POST with unsuccessful save()
public testActionPostErrorSave ( ) : void
Результат void

testActionPostValidationErrors() публичный Метод

Test POST with validation errors
public testActionPostValidationErrors ( ) : void
Результат void

Описание свойств

$fixtures публичное свойство

fixtures property
public array $fixtures
Результат array

$tableClass публичное свойство

Table class to mock on
public string $tableClass
Результат string