KMP PHP API Reference

GatheringWaiversControllerTest extends HttpIntegrationTestCase
in package

Waivers\Controller\GatheringWaiversController Test Case

Tags
uses
GatheringWaiversController

Table of Contents

Properties

$_testFilePath  : string|null
Temp file path for cleanup

Methods

testCalendarDataUsesGatheringTimezoneForEventDates()  : void
Test calendarData emits dates in the gathering's timezone.
testDashboard()  : void
Test dashboard loads successfully
testDashboardIncludesAllGatheringsSharingRequiredActivity()  : void
Test dashboard includes all gatherings that share the same required activity.
testDashboardIncludesThirtyDayBoundaryGathering()  : void
Test dashboard includes gatherings that start exactly 30 days out.
testDashboardRequiresAuthentication()  : void
Test dashboard requires authentication
testDashboardSetsViewVariables()  : void
Test dashboard sets expected view variables
testDelete()  : void
Test delete method for expired waivers
testDeletePreventsActiveWaiverDeletion()  : void
Test delete prevents deletion of active waivers
testDeleteRequiresAuthorization()  : void
Test authorization - only authorized users can delete
testDownload()  : void
Test download method serves PDF file
testDownloadRequiresAuthorization()  : void
Test authorization - only authorized users can download
testDownloadRequiresValidId()  : void
Test download requires valid waiver ID
testIndex()  : void
Test index method
testIndexRequiresGatheringId()  : void
Test index requires gathering_id parameter
testIndexShowsWaiverCounts()  : void
Test index shows waiver counts per type
testInlinePdf()  : void
Test inlinePdf method serves PDF file for embedded viewing
testInlinePdfRequiresAuthorization()  : void
Test authorization - only authorized users can access inline PDF viewer
testUploadFormIncludesCameraCapture()  : void
Test upload form includes mobile camera capture support
testUploadFormShowsRequiredWaiverTypes()  : void
Test upload form shows required waiver types
testUploadGet()  : void
Test upload method GET request shows form
testUploadRequiresAuthorization()  : void
Test authorization - only authorized users can upload
testUploadRequiresGatheringId()  : void
Test upload requires gathering_id parameter
testView()  : void
Test view method
testViewShowsRetentionPolicy()  : void
Test view shows retention policy information
setUp()  : void
tearDown()  : void

Properties

Methods

testDashboardRequiresAuthentication()

Test dashboard requires authentication

public testDashboardRequiresAuthentication() : void

testDeletePreventsActiveWaiverDeletion()

Test delete prevents deletion of active waivers

public testDeletePreventsActiveWaiverDeletion() : void

testDeleteRequiresAuthorization()

Test authorization - only authorized users can delete

public testDeleteRequiresAuthorization() : void

testDownloadRequiresAuthorization()

Test authorization - only authorized users can download

public testDownloadRequiresAuthorization() : void

testInlinePdfRequiresAuthorization()

Test authorization - only authorized users can access inline PDF viewer

public testInlinePdfRequiresAuthorization() : void

testUploadFormIncludesCameraCapture()

Test upload form includes mobile camera capture support

public testUploadFormIncludesCameraCapture() : void

testUploadFormShowsRequiredWaiverTypes()

Test upload form shows required waiver types

public testUploadFormShowsRequiredWaiverTypes() : void

testUploadRequiresAuthorization()

Test authorization - only authorized users can upload

public testUploadRequiresAuthorization() : void

        
On this page

Search results