AfformRoutingTest
extends TestCase
in package
implements
EndToEndInterface
Ensure that the routes created by Afform are working.
Tags
Table of Contents
Interfaces
- EndToEndInterface
- Interface EndToEndInterface
Properties
- $formName : mixed
Methods
- setUp() : void
- setUpBeforeClass() : void
- tearDown() : void
- testChangingPath() : void
- testChangingPermissions() : void
- assertNotAuthorized() : mixed
- assertOpensPage() : mixed
Properties
$formName
protected
mixed
$formName
= 'mockPage'
Methods
setUp()
public
setUp() : void
setUpBeforeClass()
public
static setUpBeforeClass() : void
tearDown()
public
tearDown() : void
testChangingPath()
public
testChangingPath() : void
testChangingPermissions()
public
testChangingPermissions() : void
assertNotAuthorized()
private
assertNotAuthorized(ResponseInterface $result, string $directive) : mixed
Parameters
- $result : ResponseInterface
- $directive : string
assertOpensPage()
private
assertOpensPage(ResponseInterface $result, string $directive) : mixed
Parameters
- $result : ResponseInterface
- $directive : string
-
The name of the directive which auto-opens.