Methods

setUp()

setUp() 

Setup the testing environment.

Tags

None found

tearDown()

tearDown() 

Tear down the testing environment.

Tags

None found

testBasicControllerActionCanBeCalled()

testBasicControllerActionCanBeCalled() 

Test the Controller::call method.

Tags

group

laravel

testAssignedBeforeFiltersAreRun()

testAssignedBeforeFiltersAreRun() 

Test basic controller filters are called.

Tags

group

laravel

testOnlyFiltersOnlyApplyToTheirAssignedMethods()

testOnlyFiltersOnlyApplyToTheirAssignedMethods() 

Test that "only" filters only apply to their assigned methods.

Tags

group

laravel

testExceptFiltersOnlyApplyToTheExlucdedMethods()

testExceptFiltersOnlyApplyToTheExlucdedMethods() 

Test that "except" filters only apply to the excluded methods.

Tags

group

laravel

testFiltersCanBeConstrainedByRequestMethod()

testFiltersCanBeConstrainedByRequestMethod() 

Test that filters can be constrained by the request method.

Tags

group

laravel

testGlobalBeforeFilterIsNotCalledByController()

testGlobalBeforeFilterIsNotCalledByController() 

Tags

None found

testBeforeFiltersCanOverrideResponses()

testBeforeFiltersCanOverrideResponses() 

Test that before filters can override the controller response.

Tags

group

laravel

testAfterFiltersDoNotAffectControllerResponse()

testAfterFiltersDoNotAffectControllerResponse() 

Test that after filters do not affect the response.

Tags

group

laravel

testFilterParametersArePassedToTheFilter()

testFilterParametersArePassedToTheFilter() 

Test that filter parameters are passed to the filter.

Tags

group

laravel

testMultipleFiltersCanBeAssignedToAnAction()

testMultipleFiltersCanBeAssignedToAnAction() 

Test that multiple filters can be assigned to a single method.

Tags

group

laravel

testRestfulControllersRespondWithRestfulMethods()

testRestfulControllersRespondWithRestfulMethods() 

Test Restful controllers respond by request method.

Tags

group

laravel

testTemplateControllersReturnTheTemplate()

testTemplateControllersReturnTheTemplate() 

Test that the template is returned by template controllers.

Tags

group

laravel

testControllerTemplatesCanBeNamedViews()

testControllerTemplatesCanBeNamedViews() 

Test that controller templates can be named views.

Tags

group

laravel

testTheTemplateCanBeOverriden()

testTheTemplateCanBeOverriden() 

Test that the "layout" method is called on the controller.

Tags

group

laravel

testResolveMethodChecksTheIoCContainer()

testResolveMethodChecksTheIoCContainer() 

Test the Controller::resolve method.

Tags

group

laravel