@@ -35,7 +35,10 @@ class NewAccountEmailTemplateTest extends \PHPUnit\Framework\TestCase
35
35
*/
36
36
private $ config ;
37
37
38
- protected $ storeData = array ();
38
+ /**
39
+ * @var array
40
+ */
41
+ protected $ storeData = [];
39
42
40
43
/**
41
44
* Set up
@@ -47,13 +50,21 @@ protected function setUp(): void
47
50
$ this ->objectManager = Bootstrap::getObjectManager ();
48
51
$ this ->config = $ this ->objectManager ->get (ScopeConfigInterface::class);
49
52
$ this ->storeData ['name ' ] = $ this ->config ->getValue (
50
- 'general/store_information/name ' , ScopeInterface::SCOPE_STORES );
53
+ 'general/store_information/name ' ,
54
+ ScopeInterface::SCOPE_STORES
55
+ );
51
56
$ this ->storeData ['phone ' ] = $ this ->config ->getValue (
52
- 'general/store_information/phone ' , ScopeInterface::SCOPE_STORES );
57
+ 'general/store_information/phone ' ,
58
+ ScopeInterface::SCOPE_STORES
59
+ );
53
60
$ this ->storeData ['city ' ] = $ this ->config ->getValue (
54
- 'general/store_information/city ' , ScopeInterface::SCOPE_STORES );
61
+ 'general/store_information/city ' ,
62
+ ScopeInterface::SCOPE_STORES
63
+ );
55
64
$ 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
+ );
57
68
}
58
69
59
70
/**
@@ -111,7 +122,6 @@ public function testNewAccountEmailTemplate(): void
111
122
$ this ->assertStringContainsString ("5124666492 " , $ storeText );
112
123
$ this ->assertStringContainsString ("Austin " , $ storeText );
113
124
$ this ->assertStringContainsString ("US " , $ storeText );
114
-
115
125
}
116
126
117
127
/**
@@ -141,4 +151,4 @@ private function getCustomEmailTemplateId(string $origTemplateCode): ?int
141
151
return $ templateId ;
142
152
}
143
153
144
- }
154
+ }
0 commit comments