KMP PHP API Reference

HelloWorldControllerTest extends PluginIntegrationTestCase
in package

Template\Controller\HelloWorldController Test Case

Tags
uses
HelloWorldController

Table of Contents

Constants

PLUGIN_NAME  = 'Template'

Methods

testAddGet()  : void
Test add method GET
testAddPost()  : void
Test add method POST
testAddPostInvalid()  : void
Test add method POST with invalid data
testAuthorizationUnauthenticated()  : void
Test authorization - unauthenticated user
testAuthorizationUnauthorized()  : void
Test authorization - unauthorized user
testDelete()  : void
Test delete method
testDeleteWithGet()  : void
Test delete method with GET (should fail)
testEditGet()  : void
Test edit method GET
testEditPost()  : void
Test edit method POST
testIndex()  : void
Test index method
testIndexAuthenticated()  : void
Test index method with authentication
testView()  : void
Test view method
testWithQueryParameters()  : void
Test with query parameters
setUp()  : void

Constants

Methods

testAuthorizationUnauthenticated()

Test authorization - unauthenticated user

public testAuthorizationUnauthenticated() : void

testAuthorizationUnauthorized()

Test authorization - unauthorized user

public testAuthorizationUnauthorized() : void

        
On this page

Search results