PHP Class NilPortugues\Tests\Laravel5\JsonApi\JsonApiControllerTest

Inheritance: extends LaravelTestCase
Datei anzeigen Open project: nilportugues/laravel5-jsonapi

Public Methods

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

Private Methods

Method Description
createNewEmployee ( ) : Illuminate\Http\Response

Method Details

setUp() public method

public setUp ( )

testDeleteAction() public method

public testDeleteAction ( )

testGetAction() public method

public testGetAction ( )

testGetActionWhenEmployeeDoesNotExist() public method

testListAction() public method

public testListAction ( )

testListActionCanFilterMembers() public method

testListActionCanSort() public method

testPatchAction() public method

public testPatchAction ( )

testPatchActionWhenEmployeeDoesNotExistReturns404() public method

testPostAction() public method

public testPostAction ( )

testPostActionCreateNonexistentTypeAndReturnErrors() public method

testPostActionReturnsErrorBecauseAttributesAreMissing() public method

testPutAction() public method

public testPutAction ( )

testPutActionWhenEmployeeDoesNotExistReturns404() public method