File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
dev/tests/unit/testsuite/Magento/Framework/View/Asset
lib/internal/Magento/Framework/View/Asset Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ protected function setUp()
115
115
->willReturn ('testTheme ' );
116
116
$ this ->context
117
117
->expects ($ this ->atLeastOnce ())
118
- ->method ('getLocaleCode ' )
118
+ ->method ('getLocale ' )
119
119
->willReturn ('testLocale ' );
120
120
}
121
121
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ protected function getContextCode(LocalInterface $asset)
99
99
{
100
100
/** @var FallbackContext $context */
101
101
$ context = $ asset ->getContext ();
102
- return $ context ->getAreaCode () . ': ' . $ context ->getThemePath () . ': ' . $ context ->getLocaleCode ();
102
+ return $ context ->getAreaCode () . ': ' . $ context ->getThemePath () . ': ' . $ context ->getLocale ();
103
103
}
104
104
105
105
/**
You can’t perform that action at this time.
0 commit comments