Skip to content

Commit 14145e0

Browse files
committed
ACPT-1572: Slow saving of stores/websites
- Fix unit test;
1 parent a6f96f1 commit 14145e0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/code/Magento/Customer/Test/Unit/Model/Metadata/AttributeMetadataCacheTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
use Magento\Framework\Serialize\SerializerInterface;
2020
use Magento\Framework\TestFramework\Unit\Helper\ObjectManager;
2121
use Magento\Store\Api\Data\StoreInterface;
22+
use Magento\Store\Model\Store;
2223
use Magento\Store\Model\StoreManagerInterface;
2324
use PHPUnit\Framework\MockObject\MockObject;
2425
use PHPUnit\Framework\TestCase;
@@ -223,7 +224,8 @@ public function testSave(): void
223224
[
224225
Type::CACHE_TAG,
225226
Attribute::CACHE_TAG,
226-
System::CACHE_TAG
227+
System::CACHE_TAG,
228+
Store::CACHE_TAG
227229
]
228230
);
229231
$this->attributeMetadataCache->save($entityType, $attributesMetadata, $suffix);

0 commit comments

Comments
 (0)