Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
testLoginFailed ($userName, $password) | |
getLoginDataProvider () | |
testSetGetAuthStorage () | |
testGetCredentialStorageList () | |
testLoginSuccessful () | |
testLogout () | |
testIsLoggedIn () | |
testGetUser () | |
Protected Member Functions | |
setUp () | |
Protected Attributes | |
$_model | |
Test class for \Magento\Backend\Model\Auth.
@magentoAppArea adminhtml @magentoAppIsolation enabled @magentoDbIsolation enabled
Definition at line 18 of file AuthTest.php.
getLoginDataProvider | ( | ) |
Definition at line 46 of file AuthTest.php.
|
protected |
Definition at line 25 of file AuthTest.php.
testGetCredentialStorageList | ( | ) |
Definition at line 73 of file AuthTest.php.
testGetUser | ( | ) |
Definition at line 132 of file AuthTest.php.
testIsLoggedIn | ( | ) |
Disabled form security in order to prevent exit from the app @magentoAdminConfigFixture admin/security/session_lifetime 100
Definition at line 123 of file AuthTest.php.
testLoginFailed | ( | $userName, | |
$password | |||
) |
@dataProvider getLoginDataProvider
string | $userName | |
string | $password | @expectedException \Magento\Framework\Exception\AuthenticationException |
Definition at line 41 of file AuthTest.php.
testLoginSuccessful | ( | ) |
Definition at line 79 of file AuthTest.php.
testLogout | ( | ) |
testSetGetAuthStorage | ( | ) |
Definition at line 54 of file AuthTest.php.
|
protected |
Definition at line 23 of file AuthTest.php.