Skip to content

Commit f2ef300

Browse files
committed
Fix typo in property name
1 parent 371c15c commit f2ef300

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

app/code/Magento/User/Test/Unit/Model/UserTest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class UserTest extends \PHPUnit\Framework\TestCase
4141
protected $storeManagerMock;
4242

4343
/** @var \Magento\Store\Model\Store|\PHPUnit_Framework_MockObject_MockObject */
44-
protected $storetMock;
44+
protected $storeMock;
4545

4646
/** @var \Magento\Backend\App\ConfigInterface|\PHPUnit_Framework_MockObject_MockObject */
4747
protected $configMock;
@@ -111,7 +111,7 @@ protected function setUp()
111111
->disableOriginalConstructor()
112112
->setMethods([])
113113
->getMock();
114-
$this->storetMock = $this->getMockBuilder(\Magento\Store\Model\Store::class)
114+
$this->storeMock = $this->getMockBuilder(\Magento\Store\Model\Store::class)
115115
->disableOriginalConstructor()
116116
->setMethods([])
117117
->getMock();
@@ -212,7 +212,7 @@ public function testSendNotificationEmailsIfRequired()
212212
->willReturnSelf();
213213
$this->transportBuilderMock->expects($this->exactly(2))
214214
->method('setTemplateVars')
215-
->with(['user' => $this->model, 'store' => $this->storetMock, 'changes' => $changes])
215+
->with(['user' => $this->model, 'store' => $this->storeMock, 'changes' => $changes])
216216
->willReturnSelf();
217217
$this->transportBuilderMock->expects($this->exactly(2))
218218
->method('addTo')
@@ -239,7 +239,7 @@ public function testSendNotificationEmailsIfRequired()
239239
$this->storeManagerMock->expects($this->exactly(2))
240240
->method('getStore')
241241
->with($storeId)
242-
->willReturn($this->storetMock);
242+
->willReturn($this->storeMock);
243243

244244
$this->assertInstanceOf(\Magento\User\Model\User::class, $this->model->sendNotificationEmailsIfRequired());
245245
}
@@ -275,7 +275,7 @@ public function testSendPasswordResetConfirmationEmail()
275275
->willReturnSelf();
276276
$this->transportBuilderMock->expects($this->once())
277277
->method('setTemplateVars')
278-
->with(['user' => $this->model, 'store' => $this->storetMock])
278+
->with(['user' => $this->model, 'store' => $this->storeMock])
279279
->willReturnSelf();
280280
$this->transportBuilderMock->expects($this->once())
281281
->method('addTo')
@@ -297,7 +297,7 @@ public function testSendPasswordResetConfirmationEmail()
297297
$this->storeManagerMock->expects($this->once())
298298
->method('getStore')
299299
->with($storeId)
300-
->willReturn($this->storetMock);
300+
->willReturn($this->storeMock);
301301

302302
$this->assertInstanceOf(\Magento\User\Model\User::class, $this->model->sendPasswordResetConfirmationEmail());
303303
}

0 commit comments

Comments
 (0)