Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
NilPortugues
Tests
Laravel5
JsonApi
JsonApiControllerTest
PHP Class NilPortugues\Tests\Laravel5\JsonApi\JsonApiControllerTest
Inheritance:
extends
LaravelTestCase
Mostrar archivo
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
public
testGetActionWhenEmployeeDoesNotExist
( )
testListAction()
public
method
public
testListAction
( )
testListActionCanFilterMembers()
public
method
public
testListActionCanFilterMembers
( )
testListActionCanSort()
public
method
public
testListActionCanSort
( )
testPatchAction()
public
method
public
testPatchAction
( )
testPatchActionWhenEmployeeDoesNotExistReturns404()
public
method
public
testPatchActionWhenEmployeeDoesNotExistReturns404
( )
testPostAction()
public
method
public
testPostAction
( )
testPostActionCreateNonexistentTypeAndReturnErrors()
public
method
public
testPostActionCreateNonexistentTypeAndReturnErrors
( )
testPostActionReturnsErrorBecauseAttributesAreMissing()
public
method
public
testPostActionReturnsErrorBecauseAttributesAreMissing
( )
testPutAction()
public
method
public
testPutAction
( )
testPutActionWhenEmployeeDoesNotExistReturns404()
public
method
public
testPutActionWhenEmployeeDoesNotExistReturns404
( )