Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
setUp () | |
testPerformSecurityCheck () | |
testPerformSecurityCheckLimitNumber () | |
testPerformSecurityCheckLimitTime () | |
Protected Member Functions | |
tearDown () | |
getPasswordResetRequestEventCollection () | |
Protected Attributes | |
$securityManager | |
$accountManagement | |
$objectManager | |
$passwordResetRequestEvent | |
Definition at line 12 of file SecurityManagerTest.php.
|
protected |
Get PasswordResetRequestEvent collection
Definition at line 92 of file SecurityManagerTest.php.
setUp | ( | ) |
Set up
Definition at line 37 of file SecurityManagerTest.php.
|
protected |
Tear down
Definition at line 51 of file SecurityManagerTest.php.
testPerformSecurityCheck | ( | ) |
Test for performSecurityCheck() method
@magentoConfigFixture current_store customer/password/limit_password_reset_requests_method 0 @magentoDbIsolation enabled
Definition at line 65 of file SecurityManagerTest.php.
testPerformSecurityCheckLimitNumber | ( | ) |
Test for performSecurityCheck() method when number of password reset events is exceeded
@magentoConfigFixture current_store customer/password/limit_password_reset_requests_method 1 @magentoConfigFixture current_store customer/password/max_number_password_reset_requests 1 @magentoConfigFixture current_store customer/password/min_time_between_password_reset_requests 0 @magentoConfigFixture current_store contact/email/recipient_email hi@ex @expectedException \Magento\Framework\Exception\SecurityViolationException @magentoDbIsolation enabled ampl e.com
Definition at line 110 of file SecurityManagerTest.php.
testPerformSecurityCheckLimitTime | ( | ) |
Test for performSecurityCheck() method when time between password reset events is exceeded
@magentoConfigFixture current_store customer/password/limit_password_reset_requests_method 1 @magentoConfigFixture current_store customer/password/max_number_password_reset_requests 0 @magentoConfigFixture current_store customer/password/min_time_between_password_reset_requests 1 @magentoConfigFixture current_store contact/email/recipient_email hi@ex @expectedException \Magento\Framework\Exception\SecurityViolationException @magentoDbIsolation enabled ampl e.com
Definition at line 144 of file SecurityManagerTest.php.
|
protected |
Definition at line 22 of file SecurityManagerTest.php.
|
protected |
Definition at line 27 of file SecurityManagerTest.php.
|
protected |
Definition at line 32 of file SecurityManagerTest.php.
|
protected |
Definition at line 17 of file SecurityManagerTest.php.