We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dec273f commit 458ce8dCopy full SHA for 458ce8d
dev/tests/integration/testsuite/Magento/Customer/_files/attribute_city_store_label_address.php
@@ -10,10 +10,10 @@
10
$storeManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->create(\Magento\Store\Model\StoreManager::class);
11
$model->loadByCode('customer_address', 'city');
12
$storeLabels = $model->getStoreLabels();
13
-$websites = $storeManager->getWebsites();
+$stores = $storeManager->getStores();
14
/** @var \Magento\Store\Api\Data\WebsiteInterface $website */
15
-foreach ($websites as $website) {
16
- $storeLabels[$website->getId()] = 'Suburb';
+foreach ($stores as $store) {
+ $storeLabels[$store->getId()] = 'Suburb';
17
}
18
$model->setStoreLabels($storeLabels);
19
$model->save();
0 commit comments