@@ -41,7 +41,7 @@ class UserTest extends \PHPUnit\Framework\TestCase
41
41
protected $ storeManagerMock ;
42
42
43
43
/** @var \Magento\Store\Model\Store|\PHPUnit_Framework_MockObject_MockObject */
44
- protected $ storetMock ;
44
+ protected $ storeMock ;
45
45
46
46
/** @var \Magento\Backend\App\ConfigInterface|\PHPUnit_Framework_MockObject_MockObject */
47
47
protected $ configMock ;
@@ -111,7 +111,7 @@ protected function setUp()
111
111
->disableOriginalConstructor ()
112
112
->setMethods ([])
113
113
->getMock ();
114
- $ this ->storetMock = $ this ->getMockBuilder (\Magento \Store \Model \Store::class)
114
+ $ this ->storeMock = $ this ->getMockBuilder (\Magento \Store \Model \Store::class)
115
115
->disableOriginalConstructor ()
116
116
->setMethods ([])
117
117
->getMock ();
@@ -212,7 +212,7 @@ public function testSendNotificationEmailsIfRequired()
212
212
->willReturnSelf ();
213
213
$ this ->transportBuilderMock ->expects ($ this ->exactly (2 ))
214
214
->method ('setTemplateVars ' )
215
- ->with (['user ' => $ this ->model , 'store ' => $ this ->storetMock , 'changes ' => $ changes ])
215
+ ->with (['user ' => $ this ->model , 'store ' => $ this ->storeMock , 'changes ' => $ changes ])
216
216
->willReturnSelf ();
217
217
$ this ->transportBuilderMock ->expects ($ this ->exactly (2 ))
218
218
->method ('addTo ' )
@@ -239,7 +239,7 @@ public function testSendNotificationEmailsIfRequired()
239
239
$ this ->storeManagerMock ->expects ($ this ->exactly (2 ))
240
240
->method ('getStore ' )
241
241
->with ($ storeId )
242
- ->willReturn ($ this ->storetMock );
242
+ ->willReturn ($ this ->storeMock );
243
243
244
244
$ this ->assertInstanceOf (\Magento \User \Model \User::class, $ this ->model ->sendNotificationEmailsIfRequired ());
245
245
}
@@ -275,7 +275,7 @@ public function testSendPasswordResetConfirmationEmail()
275
275
->willReturnSelf ();
276
276
$ this ->transportBuilderMock ->expects ($ this ->once ())
277
277
->method ('setTemplateVars ' )
278
- ->with (['user ' => $ this ->model , 'store ' => $ this ->storetMock ])
278
+ ->with (['user ' => $ this ->model , 'store ' => $ this ->storeMock ])
279
279
->willReturnSelf ();
280
280
$ this ->transportBuilderMock ->expects ($ this ->once ())
281
281
->method ('addTo ' )
@@ -297,7 +297,7 @@ public function testSendPasswordResetConfirmationEmail()
297
297
$ this ->storeManagerMock ->expects ($ this ->once ())
298
298
->method ('getStore ' )
299
299
->with ($ storeId )
300
- ->willReturn ($ this ->storetMock );
300
+ ->willReturn ($ this ->storeMock );
301
301
302
302
$ this ->assertInstanceOf (\Magento \User \Model \User::class, $ this ->model ->sendPasswordResetConfirmationEmail ());
303
303
}
0 commit comments