Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
testPostAction () | |
testInvalidPostAction ($params, $expectedMessage) | |
![]() | |
getRequest () | |
getResponse () | |
assert404NotFound () | |
assertHeaderPcre ($headerName, $valueRegex) | |
assertRedirect (\PHPUnit\Framework\Constraint\Constraint $urlConstraint=null) | |
Static Public Member Functions | |
static | dataInvalidPostAction () |
Additional Inherited Members | |
![]() | |
_getBootstrap () | |
setUp () | |
tearDown () | |
assertPostConditions () | |
getMessages ( $messageType=null, $messageManagerClass=\Magento\Framework\Message\Manager::class) | |
![]() | |
$_runCode = '' | |
$_runScope = 'store' | |
$_runOptions = [] | |
$_request | |
$_response | |
$_objectManager | |
$_assertSessionErrors = false | |
Contact index controller test
Definition at line 14 of file IndexTest.php.
|
static |
testInvalidPostAction | ( | $params, | |
$expectedMessage | |||
) |
Test validation.
array | $params | For Request. |
string | $expectedMessage | Expected response. |
@dataProvider dataInvalidPostAction
Definition at line 47 of file IndexTest.php.
testPostAction | ( | ) |
Test contacting.
Definition at line 19 of file IndexTest.php.