Skip to content

Commit 267c227

Browse files
committed
MAGETWO-34390: Stabilization of replacing Zend_Locale with Native PHP Implementation
1 parent 7e296ef commit 267c227

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dev/tests/unit/testsuite/Magento/Framework/View/Asset/BundleTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ protected function setUp()
115115
->willReturn('testTheme');
116116
$this->context
117117
->expects($this->atLeastOnce())
118-
->method('getLocaleCode')
118+
->method('getLocale')
119119
->willReturn('testLocale');
120120
}
121121

lib/internal/Magento/Framework/View/Asset/Bundle.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ protected function getContextCode(LocalInterface $asset)
9999
{
100100
/** @var FallbackContext $context */
101101
$context = $asset->getContext();
102-
return $context->getAreaCode() . ':' . $context->getThemePath() . ':' . $context->getLocaleCode();
102+
return $context->getAreaCode() . ':' . $context->getThemePath() . ':' . $context->getLocale();
103103
}
104104

105105
/**

0 commit comments

Comments
 (0)