From eef56cacc6420f98a29019163f6bc5b72e0ac4ed Mon Sep 17 00:00:00 2001 From: Igor Melnikov <imelnikov@magento.com> Date: Wed, 2 Nov 2016 17:51:06 -0500 Subject: [PATCH] MAGETWO-60442: Add optional SerializerInterface dependency to child classes of \Magento\Framework\Config\Data Adding SerializerInterface dependency in the constructor --- .../Test/Unit/Model/Country/Postcode/Config/DataTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/code/Magento/Directory/Test/Unit/Model/Country/Postcode/Config/DataTest.php b/app/code/Magento/Directory/Test/Unit/Model/Country/Postcode/Config/DataTest.php index 20444b6080a..57c86ab58c9 100644 --- a/app/code/Magento/Directory/Test/Unit/Model/Country/Postcode/Config/DataTest.php +++ b/app/code/Magento/Directory/Test/Unit/Model/Country/Postcode/Config/DataTest.php @@ -53,6 +53,7 @@ class DataTest extends \PHPUnit_Framework_TestCase $configData = new \Magento\Directory\Model\Country\Postcode\Config\Data( $this->readerMock, $this->cacheMock, + 'country_postcodes', $this->serializerMock ); $this->assertEquals($expected, $configData->get()); -- GitLab