KMP PHP API Reference

WaiverTypesControllerTest extends HttpIntegrationTestCase
in package

Waivers\Controller\WaiverTypesController Test Case

Tags
uses
WaiverTypesController

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

testAddPostWithDuplicateName()

Test add method POST with duplicate name

public testAddPostWithDuplicateName() : void

testAddPostWithInvalidData()

Test add method POST with invalid data

public testAddPostWithInvalidData() : void

testDeleteFailsIfInUse()

Test delete method should fail if waiver type is in use

public testDeleteFailsIfInUse() : void

testIndexShowsInactiveWhenRequested()

Test index with show_inactive parameter

public testIndexShowsInactiveWhenRequested() : void

testIndexShowsOnlyActiveByDefault()

Test index method shows only active waiver types by default

public testIndexShowsOnlyActiveByDefault() : void

        
On this page

Search results