PHP Class NilPortugues\Tests\Laravel5\JsonApi\JsonApiControllerTest

Inheritance: extends LaravelTestCase
Afficher le fichier Open project: nilportugues/laravel5-jsonapi

Méthodes publiques

Méthode Description
setUp ( )
testDeleteAction ( )
testGetAction ( )
testGetActionWhenEmployeeDoesNotExist ( )
testListAction ( )
testListActionCanFilterMembers ( )
testListActionCanSort ( )
testPatchAction ( )
testPatchActionWhenEmployeeDoesNotExistReturns404 ( )
testPostAction ( )
testPostActionCreateNonexistentTypeAndReturnErrors ( )
testPostActionReturnsErrorBecauseAttributesAreMissing ( )
testPutAction ( )
testPutActionWhenEmployeeDoesNotExistReturns404 ( )

Private Methods

Méthode Description
createNewEmployee ( ) : Illuminate\Http\Response

Method Details

setUp() public méthode

public setUp ( )

testDeleteAction() public méthode

public testDeleteAction ( )

testGetAction() public méthode

public testGetAction ( )

testGetActionWhenEmployeeDoesNotExist() public méthode

testListAction() public méthode

public testListAction ( )

testListActionCanFilterMembers() public méthode

testListActionCanSort() public méthode

testPatchAction() public méthode

public testPatchAction ( )

testPatchActionWhenEmployeeDoesNotExistReturns404() public méthode

testPostAction() public méthode

public testPostAction ( )

testPostActionCreateNonexistentTypeAndReturnErrors() public méthode

testPostActionReturnsErrorBecauseAttributesAreMissing() public méthode

testPutAction() public méthode

public testPutAction ( )

testPutActionWhenEmployeeDoesNotExistReturns404() public méthode