Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Protected Member Functions | |
setUp () | |
Protected Attributes | |
$dataObjectHelper | |
Integration test for service layer \Magento\Customer\Model\AccountManagementTest
@SuppressWarnings(PHPMD.TooManyMethods) @SuppressWarnings(PHPMD.ExcessivePublicCount) @SuppressWarnings(PHPMD.CouplingBetweenObjects) @magentoAppArea frontend
Definition at line 27 of file AccountManagementTest.php.
|
protected |
Definition at line 59 of file AccountManagementTest.php.
testChangePassword | ( | ) |
@magentoAppArea frontend @magentoDataFixture Magento/Customer/_files/customer.php
Definition at line 171 of file AccountManagementTest.php.
testChangePasswordWrongPassword | ( | ) |
@magentoDataFixture Magento/Customer/_files/customer.php
@expectedException \Magento\Framework\Exception\InvalidEmailOrPasswordException @expectedExceptionMessage The password doesn't match this account. Verify the password and try again.
Definition at line 184 of file AccountManagementTest.php.
testChangePasswordWrongUser | ( | ) |
@expectedException \Magento\Framework\Exception\InvalidEmailOrPasswordException @expectedExceptionMessage Invalid login or password.
Definition at line 193 of file AccountManagementTest.php.
testCreateCustomerException | ( | ) |
testCreateNewCustomer | ( | ) |
testCreateNewCustomerFromClone | ( | ) |
@magentoAppArea frontend @magentoDataFixture Magento/Customer/_files/customer.php
Definition at line 851 of file AccountManagementTest.php.
testCreateNonexistingCustomer | ( | ) |
@magentoAppArea frontend @magentoDataFixture Magento/Customer/_files/customer.php @magentoDbIsolation enabled
Definition at line 636 of file AccountManagementTest.php.
testGetDefaultAddressesForNonExistentAddress | ( | ) |
@magentoDataFixture Magento/Customer/_files/customer.php
Definition at line 999 of file AccountManagementTest.php.
testGetDefaultBillingAddress | ( | ) |
@magentoDataFixture Magento/Customer/_files/customer.php @magentoDataFixture Magento/Customer/_files/customer_address.php @magentoDataFixture Magento/Customer/_files/customer_two_addresses.php
Definition at line 916 of file AccountManagementTest.php.
testIsEmailAvailable | ( | ) |
@magentoDataFixture Magento/Customer/_files/customer.php
Definition at line 885 of file AccountManagementTest.php.
testIsEmailAvailableNonExistentEmail | ( | ) |
Definition at line 906 of file AccountManagementTest.php.
testIsEmailAvailableNoWebsiteSpecified | ( | ) |
@magentoDataFixture Magento/Customer/_files/customer.php
Definition at line 893 of file AccountManagementTest.php.
testIsEmailAvailableNoWebsiteSpecifiedNonExistent | ( | ) |
@magentoDataFixture Magento/Customer/_files/customer.php
Definition at line 901 of file AccountManagementTest.php.
testLogin | ( | ) |
@magentoAppArea frontend @magentoDataFixture Magento/Customer/_files/customer.php
Definition at line 138 of file AccountManagementTest.php.
testLoginWrongPassword | ( | ) |
@magentoDataFixture Magento/Customer/_files/customer.php
@expectedException \Magento\Framework\Exception\InvalidEmailOrPasswordException
Definition at line 151 of file AccountManagementTest.php.
testLoginWrongUsername | ( | ) |
@expectedException \Magento\Framework\Exception\InvalidEmailOrPasswordException @expectedExceptionMessage Invalid login or password.
Definition at line 161 of file AccountManagementTest.php.
testResendConfirmation | ( | ) |
@magentoAppArea frontend @magentoAppIsolation enabled @magentoDataFixture Magento/Customer/_files/inactive_customer.php
Definition at line 568 of file AccountManagementTest.php.
testResendConfirmationBadWebsiteId | ( | ) |
@magentoAppArea frontend @magentoAppIsolation enabled @magentoDataFixture Magento/Customer/_files/inactive_customer.php
Definition at line 579 of file AccountManagementTest.php.
testResendConfirmationNoEmail | ( | ) |
@magentoDataFixture Magento/Customer/_files/customer.php
Definition at line 594 of file AccountManagementTest.php.
testResendConfirmationNotNeeded | ( | ) |
@magentoDataFixture Magento/Customer/_files/customer.php @expectedException \Magento\Framework\Exception\State\InvalidTransitionException
Definition at line 611 of file AccountManagementTest.php.
testResetPassword | ( | ) |
@magentoDataFixture Magento/Customer/_files/customer.php
Definition at line 453 of file AccountManagementTest.php.
testResetPasswordAmbiguousToken | ( | ) |
@magentoDataFixture Magento/Customer/_files/two_customers.php @expectedException \Magento\Framework\Exception\State\ExpiredException
Definition at line 554 of file AccountManagementTest.php.
testResetPasswordTokenExpired | ( | ) |
@magentoDataFixture Magento/Customer/_files/customer.php
Definition at line 465 of file AccountManagementTest.php.
testResetPasswordTokenInvalid | ( | ) |
@magentoDataFixture Magento/Customer/_files/customer.php
Definition at line 483 of file AccountManagementTest.php.
testResetPasswordTokenInvalidUserEmail | ( | ) |
@magentoDataFixture Magento/Customer/_files/customer.php
Definition at line 523 of file AccountManagementTest.php.
testResetPasswordTokenSecondTime | ( | ) |
Test for resetPassword() method when reset for the second time
@magentoDataFixture Magento/Customer/_files/customer.php @expectedException \Magento\Framework\Exception\State\InputMismatchException
Definition at line 333 of file AccountManagementTest.php.
testResetPasswordTokenWrongUser | ( | ) |
@magentoDataFixture Magento/Customer/_files/customer.php
Definition at line 504 of file AccountManagementTest.php.
testResetPasswordWithoutEmail | ( | ) |
@magentoDataFixture Magento/Customer/_files/customer.php
Definition at line 541 of file AccountManagementTest.php.
testSendPasswordResetLink | ( | ) |
@magentoAppArea frontend @magentoDataFixture Magento/Customer/_files/customer.php
Definition at line 387 of file AccountManagementTest.php.
testSendPasswordResetLinkBadEmailDefaultWebsite | ( | ) |
@magentoDataFixture Magento/Customer/_files/customer.php
Definition at line 434 of file AccountManagementTest.php.
testSendPasswordResetLinkBadEmailOrWebsite | ( | ) |
@magentoDataFixture Magento/Customer/_files/customer.php
Definition at line 409 of file AccountManagementTest.php.
testSendPasswordResetLinkDefaultWebsite | ( | ) |
@magentoAppArea frontend @magentoDataFixture Magento/Customer/_files/customer.php
Definition at line 398 of file AccountManagementTest.php.
testValidateResetPasswordLinkToken | ( | ) |
@magentoDataFixture Magento/Customer/_files/customer.php
Definition at line 275 of file AccountManagementTest.php.
testValidateResetPasswordLinkTokenAmbiguous | ( | ) |
@magentoDataFixture Magento/Customer/_files/two_customers.php @expectedException \Magento\Framework\Exception\State\ExpiredException
Definition at line 375 of file AccountManagementTest.php.
testValidateResetPasswordLinkTokenExpired | ( | ) |
@magentoDataFixture Magento/Customer/_files/customer.php @expectedException \Magento\Framework\Exception\State\ExpiredException
Definition at line 285 of file AccountManagementTest.php.
testValidateResetPasswordLinkTokenInvalid | ( | ) |
@magentoDataFixture Magento/Customer/_files/customer.php
Definition at line 295 of file AccountManagementTest.php.
testValidateResetPasswordLinkTokenNull | ( | ) |
@magentoDataFixture Magento/Customer/_files/customer.php
Definition at line 347 of file AccountManagementTest.php.
testValidateResetPasswordLinkTokenWithoutId | ( | ) |
@magentoDataFixture Magento/Customer/_files/customer.php
Definition at line 363 of file AccountManagementTest.php.
testValidateResetPasswordLinkTokenWrongUser | ( | ) |
@magentoDataFixture Magento/Customer/_files/customer.php
Definition at line 315 of file AccountManagementTest.php.
|
protected |
Definition at line 57 of file AccountManagementTest.php.