@@ -35,7 +35,10 @@ class NewAccountEmailTemplateTest extends \PHPUnit\Framework\TestCase
3535 */
3636 private $ config ;
3737
38- protected $ storeData = array ();
38+ /**
39+ * @var array
40+ */
41+ protected $ storeData = [];
3942
4043 /**
4144 * Set up
@@ -47,13 +50,21 @@ protected function setUp(): void
4750 $ this ->objectManager = Bootstrap::getObjectManager ();
4851 $ this ->config = $ this ->objectManager ->get (ScopeConfigInterface::class);
4952 $ this ->storeData ['name ' ] = $ this ->config ->getValue (
50- 'general/store_information/name ' , ScopeInterface::SCOPE_STORES );
53+ 'general/store_information/name ' ,
54+ ScopeInterface::SCOPE_STORES
55+ );
5156 $ this ->storeData ['phone ' ] = $ this ->config ->getValue (
52- 'general/store_information/phone ' , ScopeInterface::SCOPE_STORES );
57+ 'general/store_information/phone ' ,
58+ ScopeInterface::SCOPE_STORES
59+ );
5360 $ this ->storeData ['city ' ] = $ this ->config ->getValue (
54- 'general/store_information/city ' , ScopeInterface::SCOPE_STORES );
61+ 'general/store_information/city ' ,
62+ ScopeInterface::SCOPE_STORES
63+ );
5564 $ this ->storeData ['country ' ] = $ this ->config ->getValue (
56- 'general/store_information/country_id ' , ScopeInterface::SCOPE_STORES );
65+ 'general/store_information/country_id ' ,
66+ ScopeInterface::SCOPE_STORES
67+ );
5768 }
5869
5970 /**
@@ -111,7 +122,6 @@ public function testNewAccountEmailTemplate(): void
111122 $ this ->assertStringContainsString ("5124666492 " , $ storeText );
112123 $ this ->assertStringContainsString ("Austin " , $ storeText );
113124 $ this ->assertStringContainsString ("US " , $ storeText );
114-
115125 }
116126
117127 /**
@@ -141,4 +151,4 @@ private function getCustomEmailTemplateId(string $origTemplateCode): ?int
141151 return $ templateId ;
142152 }
143153
144- }
154+ }
0 commit comments