File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
dev/tests/integration/testsuite/Magento/Email/Model Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -823,7 +823,7 @@ protected function getCountryName($store)
823823 ScopeInterface::SCOPE_STORE ,
824824 $ store
825825 );
826- if ($ countryId ) {
826+ if ($ countryId ) {
827827 $ countryName = $ this ->countryInformationAcquirerInterface ->getCountryInfo ($ countryId )->getFullNameLocale ();
828828 }
829829 return $ countryName ;
@@ -844,7 +844,7 @@ protected function getRegionName($store)
844844 ScopeInterface::SCOPE_STORE ,
845845 $ store
846846 );
847- if ($ regionId ) {
847+ if ($ regionId ) {
848848 $ regionName = $ this ->regionFactory ->create ()->load ($ regionId )->getName ();
849849 }
850850 return $ regionName ;
Original file line number Diff line number Diff line change 1515 "magento/module-require-js" : " *" ,
1616 "magento/module-store" : " *" ,
1717 "magento/module-widget" : " *" ,
18- "magento/module-ui" : " *"
18+ "magento/module-ui" : " *" ,
19+ "magento/module-directory" : " *"
1920 },
2021 "type" : " magento2-module" ,
2122 "license" : [
Original file line number Diff line number Diff line change @@ -67,6 +67,8 @@ protected function mockModel($filesystem = null)
6767 $ this ->objectManager ->get (\Magento \Email \Model \TemplateFactory::class),
6868 $ this ->objectManager ->get (\Magento \Framework \Filter \FilterManager::class),
6969 $ this ->objectManager ->get (\Magento \Framework \UrlInterface::class),
70+ $ this ->objectManager ->get (\Magento \Directory \Api \CountryInformationAcquirerInterface::class),
71+ $ this ->objectManager ->get (\Magento \Directory \Model \RegionFactory::class),
7072 $ this ->objectManager ->get (\Magento \Email \Model \Template \FilterFactory::class),
7173 ]
7274 )
You can’t perform that action at this time.
0 commit comments