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)
823
823
ScopeInterface::SCOPE_STORE ,
824
824
$ store
825
825
);
826
- if ($ countryId ) {
826
+ if ($ countryId ) {
827
827
$ countryName = $ this ->countryInformationAcquirerInterface ->getCountryInfo ($ countryId )->getFullNameLocale ();
828
828
}
829
829
return $ countryName ;
@@ -844,7 +844,7 @@ protected function getRegionName($store)
844
844
ScopeInterface::SCOPE_STORE ,
845
845
$ store
846
846
);
847
- if ($ regionId ) {
847
+ if ($ regionId ) {
848
848
$ regionName = $ this ->regionFactory ->create ()->load ($ regionId )->getName ();
849
849
}
850
850
return $ regionName ;
Original file line number Diff line number Diff line change 15
15
"magento/module-require-js" : " *" ,
16
16
"magento/module-store" : " *" ,
17
17
"magento/module-widget" : " *" ,
18
- "magento/module-ui" : " *"
18
+ "magento/module-ui" : " *" ,
19
+ "magento/module-directory" : " *"
19
20
},
20
21
"type" : " magento2-module" ,
21
22
"license" : [
Original file line number Diff line number Diff line change @@ -67,6 +67,8 @@ protected function mockModel($filesystem = null)
67
67
$ this ->objectManager ->get (\Magento \Email \Model \TemplateFactory::class),
68
68
$ this ->objectManager ->get (\Magento \Framework \Filter \FilterManager::class),
69
69
$ 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),
70
72
$ this ->objectManager ->get (\Magento \Email \Model \Template \FilterFactory::class),
71
73
]
72
74
)
You can’t perform that action at this time.
0 commit comments