Skip to content

Commit f135909

Browse files
author
Oleksii Korshenko
committed
MAGETWO-66184: [GitHub][PR] Fix typo in app/code/Magento/Email/Test/Unit/Model/TemplateTest.php #8886
- Merge Pull Request #8886 from orlangur/magento2:pr8707
2 parents aa93ea8 + 1415a84 commit f135909

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app/code/Magento/Email/Test/Unit/Model/TemplateTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ class TemplateTest extends \PHPUnit_Framework_TestCase
8787
/**
8888
* @var \Magento\Framework\Serialize\Serializer\Json|\PHPUnit_Framework_MockObject_MockObject
8989
*/
90-
private $serilizerMock;
90+
private $serializerMock;
9191

9292
protected function setUp()
9393
{
@@ -144,7 +144,7 @@ protected function setUp()
144144
->disableOriginalConstructor()
145145
->getMock();
146146

147-
$this->serilizerMock = $this->getMockBuilder(\Magento\Framework\Serialize\Serializer\Json::class)->getMock();
147+
$this->serializerMock = $this->getMockBuilder(\Magento\Framework\Serialize\Serializer\Json::class)->getMock();
148148
}
149149

150150
/**
@@ -172,7 +172,7 @@ protected function getModelMock(array $mockedMethods = [])
172172
$this->urlModel,
173173
$this->filterFactory,
174174
[],
175-
$this->serilizerMock
175+
$this->serializerMock
176176
])
177177
->getMock();
178178
}
@@ -542,7 +542,7 @@ public function testGetVariablesOptionArray($withGroup, $templateVariables, $exp
542542
$model = $this->getModelMock();
543543
$model->setData('orig_template_variables', $templateVariables);
544544

545-
$this->serilizerMock->expects($this->any())->method('unserialize')
545+
$this->serializerMock->expects($this->any())->method('unserialize')
546546
->willReturn(
547547
json_decode($templateVariables, true)
548548
);

0 commit comments

Comments
 (0)