Skip to content

Commit

Permalink
MAGETWO-66184: [GitHub][PR] Fix typo in app/code/Magento/Email/Test/U…
Browse files Browse the repository at this point in the history
…nit/Model/TemplateTest.php #8886
  • Loading branch information
magento-team authored Mar 15, 2017
2 parents 7296626 + f135909 commit 98d1840
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/code/Magento/Email/Test/Unit/Model/TemplateTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class TemplateTest extends \PHPUnit_Framework_TestCase
/**
* @var \Magento\Framework\Serialize\Serializer\Json|\PHPUnit_Framework_MockObject_MockObject
*/
private $serilizerMock;
private $serializerMock;

protected function setUp()
{
Expand Down Expand Up @@ -144,7 +144,7 @@ protected function setUp()
->disableOriginalConstructor()
->getMock();

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

/**
Expand Down Expand Up @@ -172,7 +172,7 @@ protected function getModelMock(array $mockedMethods = [])
$this->urlModel,
$this->filterFactory,
[],
$this->serilizerMock
$this->serializerMock
])
->getMock();
}
Expand Down Expand Up @@ -542,7 +542,7 @@ public function testGetVariablesOptionArray($withGroup, $templateVariables, $exp
$model = $this->getModelMock();
$model->setData('orig_template_variables', $templateVariables);

$this->serilizerMock->expects($this->any())->method('unserialize')
$this->serializerMock->expects($this->any())->method('unserialize')
->willReturn(
json_decode($templateVariables, true)
);
Expand Down

0 comments on commit 98d1840

Please sign in to comment.