From 497e7848ebb4a247085e73ee3733a8c2d0b0e909 Mon Sep 17 00:00:00 2001 From: Michail Slabko <mslabko@magento.com> Date: Thu, 6 Oct 2016 11:39:34 +0300 Subject: [PATCH] MAGETWO-59342: [Cloud] Custom theme does not use parent xml configuration on multi thread deployment --- .../Magento/Framework/View/Test/Unit/ConfigTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/internal/Magento/Framework/View/Test/Unit/ConfigTest.php b/lib/internal/Magento/Framework/View/Test/Unit/ConfigTest.php index 4295b5d3e24..2a09783c710 100644 --- a/lib/internal/Magento/Framework/View/Test/Unit/ConfigTest.php +++ b/lib/internal/Magento/Framework/View/Test/Unit/ConfigTest.php @@ -40,17 +40,17 @@ class ConfigTest extends \PHPUnit_Framework_TestCase public function testGetViewConfig() { - $themeCode = 2; + $themeCode = 'area/theme'; $themeMock = $this->getMock( \Magento\Theme\Model\Theme::class, - ['getCode'], + ['getFullPath'], [], '', false ); $themeMock->expects($this->atLeastOnce()) - ->method('getCode') + ->method('getFullPath') ->will($this->returnValue($themeCode)); $params = [ 'themeModel' => $themeMock, -- GitLab