File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
dev/tests/integration/testsuite/Magento/Customer/Block/Form Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -149,15 +149,15 @@ public function testTelephoneWithStoreLabel(): void
149
149
$ storeManager = Bootstrap::getObjectManager ()->create (
150
150
\Magento \Store \Model \StoreManagerInterface::class
151
151
);
152
- $ websites = $ storeManager ->getWebsites ();
152
+ $ stores = $ storeManager ->getStores ();
153
153
/** @var \Magento\Eav\Model\Config $eavConfig */
154
154
$ eavConfig = Bootstrap::getObjectManager ()->create (
155
155
\Magento \Eav \Model \Config::class
156
156
);
157
157
$ model = $ eavConfig ->getAttribute ('customer_address ' , 'telephone ' );
158
158
$ storeLabels = $ model ->getStoreLabels ();
159
- foreach ($ websites as $ website ) {
160
- $ storeLabels [$ website ->getId ()] = 'Phone NumberX ' ;
159
+ foreach ($ stores as $ store ) {
160
+ $ storeLabels [$ store ->getId ()] = 'Phone NumberX ' ;
161
161
}
162
162
$ model ->setStoreLabels ([$ storeLabels ]);
163
163
$ model ->save ();
You can’t perform that action at this time.
0 commit comments