Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
testGetUrl (string $routePath, array $requestParams, string $expectedResult, $routeParams=null) | |
testGetSecretKey (string $routeName, string $controller, string $action, string $expectedHash) | |
testUseSecretKey () | |
Protected Member Functions | |
setUp () | |
Test class for \Magento\Backend\Model\UrlInterface.
@magentoAppArea adminhtml
Definition at line 20 of file UrlTest.php.
|
protected |
Definition at line 40 of file UrlTest.php.
testGetSecretKey | ( | string | $routeName, |
string | $controller, | ||
string | $action, | ||
string | $expectedHash | ||
) |
string | $routeName | |
string | $controller | |
string | $action | |
string | $expectedHash |
@dataProvider getSecretKeyDataProvider @magentoAppIsolation enabled
Definition at line 150 of file UrlTest.php.
testGetUrl | ( | string | $routePath, |
array | $requestParams, | ||
string | $expectedResult, | ||
$routeParams = null |
|||
) |
App isolation is enabled to protect next tests from polluted registry by getUrl().
string | $routePath | |
array | $requestParams | |
string | $expectedResult | |
array | null | $routeParams |
@dataProvider getUrlDataProvider @magentoAppIsolation enabled
Definition at line 59 of file UrlTest.php.
testUseSecretKey | ( | ) |
Definition at line 237 of file UrlTest.php.