PHP 클래스 Crud\Test\TestCase\Action\EditActionTest

파일 보기 프로젝트 열기: friendsofcake/crud

공개 프로퍼티들

프로퍼티 타입 설명
$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

프로퍼티 상세

$fixtures 공개적으로 프로퍼티

fixtures property
public array $fixtures
리턴 array

$tableClass 공개적으로 프로퍼티

Table class to mock on
public string $tableClass
리턴 string