WaiverTypesControllerTest
extends HttpIntegrationTestCase
in package
Waivers\Controller\WaiverTypesController Test Case
Tags
Table of Contents
Methods
- testAddGet() : void
- Test add method GET
- testAddPost() : void
- Test add method POST with valid data
- testAddPostWithDuplicateName() : void
- Test add method POST with duplicate name
- testAddPostWithInvalidData() : void
- Test add method POST with invalid data
- testDelete() : void
- Test delete method
- testDeleteFailsIfInUse() : void
- Test delete method should fail if waiver type is in use
- testDeleteRequiresPost() : void
- Test delete method only accepts POST
- testDeleteWithInvalidId() : void
- Test delete method with invalid id
- testEditGet() : void
- Test edit method GET
- testEditPost() : void
- Test edit method POST with valid data
- testEditWithInvalidId() : void
- Test edit method with invalid id
- testIndex() : void
- Test index method
- testIndexShowsInactiveWhenRequested() : void
- Test index with show_inactive parameter
- testIndexShowsOnlyActiveByDefault() : void
- Test index method shows only active waiver types by default
- testToggleActive() : void
- Test toggle active status
- testView() : void
- Test view method
- testViewWithInvalidId() : void
- Test view method with invalid id
- setUp() : void
Methods
testAddGet()
Test add method GET
public
testAddGet() : void
Tags
testAddPost()
Test add method POST with valid data
public
testAddPost() : void
Tags
testAddPostWithDuplicateName()
Test add method POST with duplicate name
public
testAddPostWithDuplicateName() : void
testAddPostWithInvalidData()
Test add method POST with invalid data
public
testAddPostWithInvalidData() : void
testDelete()
Test delete method
public
testDelete() : void
Tags
testDeleteFailsIfInUse()
Test delete method should fail if waiver type is in use
public
testDeleteFailsIfInUse() : void
testDeleteRequiresPost()
Test delete method only accepts POST
public
testDeleteRequiresPost() : void
testDeleteWithInvalidId()
Test delete method with invalid id
public
testDeleteWithInvalidId() : void
testEditGet()
Test edit method GET
public
testEditGet() : void
Tags
testEditPost()
Test edit method POST with valid data
public
testEditPost() : void
Tags
testEditWithInvalidId()
Test edit method with invalid id
public
testEditWithInvalidId() : void
testIndex()
Test index method
public
testIndex() : void
Tags
testIndexShowsInactiveWhenRequested()
Test index with show_inactive parameter
public
testIndexShowsInactiveWhenRequested() : void
testIndexShowsOnlyActiveByDefault()
Test index method shows only active waiver types by default
public
testIndexShowsOnlyActiveByDefault() : void
testToggleActive()
Test toggle active status
public
testToggleActive() : void
Tags
testView()
Test view method
public
testView() : void
Tags
testViewWithInvalidId()
Test view method with invalid id
public
testViewWithInvalidId() : void
setUp()
protected
setUp() : void