Skip to content

Commit 3343d81

Browse files
p-bystritskyengcom-Foxtrot
authored andcommitted
Static properties serialization fix - update.
1 parent 9383fe1 commit 3343d81

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

dev/tests/integration/etc/di/preferences/ce.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
\Magento\Framework\App\Response\Http::class => \Magento\TestFramework\Response::class,
1717
\Magento\Framework\Interception\PluginListInterface::class =>
1818
\Magento\TestFramework\Interception\PluginList::class,
19-
\Magento\Framework\Serialize\SerializerInterface::class =>
20-
\Magento\TestFramework\Serialize\Serializer::class,
2119
\Magento\Framework\Interception\ObjectManager\ConfigInterface::class =>
2220
\Magento\TestFramework\ObjectManager\Config::class,
2321
\Magento\Framework\Interception\ObjectManager\Config\Developer::class =>

dev/tests/integration/framework/Magento/TestFramework/Workaround/Cleanup/StaticProperties.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ public static function backupStaticVariables()
168168

169169
$objectManager = Bootstrap::getInstance()->getObjectManager();
170170
$cache = $objectManager->get(CacheInterface::class);
171-
$serializer = $objectManager->get(SerializerInterface::class);
171+
$serializer = $objectManager->get(\Magento\TestFramework\Serialize\Serializer::class);
172172
$cachedProperties = $cache->load(self::CACHE_NAME);
173173

174174
if ($cachedProperties) {

0 commit comments

Comments
 (0)