|
17 | 17 | use Magento\Customer\Model\AccountManagement; |
18 | 18 | use Magento\Customer\Model\AccountManagementApi; |
19 | 19 | use Magento\Customer\Model\AddressRegistry; |
20 | | -use Magento\Customer\Model\AuthenticationInterface; |
21 | 20 | use Magento\Customer\Model\Config\Share; |
22 | 21 | use Magento\Customer\Model\CustomerFactory; |
23 | 22 | use Magento\Customer\Model\CustomerRegistry; |
24 | 23 | use Magento\Customer\Model\Data\CustomerSecure; |
25 | | -use Magento\Customer\Model\EmailNotificationInterface; |
26 | 24 | use Magento\Customer\Model\Metadata\Validator; |
27 | 25 | use Magento\Customer\Model\ResourceModel\Visitor\CollectionFactory; |
28 | 26 | use Magento\Directory\Model\AllowedCountries; |
@@ -235,9 +233,14 @@ class AccountManagementApiTest extends TestCase |
235 | 233 | private $authorizationMock; |
236 | 234 |
|
237 | 235 | /** |
238 | | - * @var Store|MockObject |
| 236 | + * @var CustomerSecure|MockObject |
239 | 237 | */ |
240 | | - private $store; |
| 238 | + private $customerSecure; |
| 239 | + |
| 240 | + /** |
| 241 | + * @var StoreInterface |
| 242 | + */ |
| 243 | + private $storeMock; |
241 | 244 |
|
242 | 245 | /** |
243 | 246 | * @inheritDoc |
@@ -280,12 +283,6 @@ protected function setUp(): void |
280 | 283 | ExtensibleDataObjectConverter::class |
281 | 284 | ); |
282 | 285 | $this->allowedCountriesReader = $this->createMock(AllowedCountries::class); |
283 | | - $this->authenticationMock = $this->getMockBuilder(AuthenticationInterface::class) |
284 | | - ->disableOriginalConstructor() |
285 | | - ->getMockForAbstractClass(); |
286 | | - $this->emailNotificationMock = $this->getMockBuilder(EmailNotificationInterface::class) |
287 | | - ->disableOriginalConstructor() |
288 | | - ->getMockForAbstractClass(); |
289 | 286 | $this->customerSecure = $this->getMockBuilder(CustomerSecure::class) |
290 | 287 | ->onlyMethods(['addData', 'setData']) |
291 | 288 | ->addMethods(['setRpToken', 'setRpTokenCreatedAt']) |
|
0 commit comments