Skip to content

Commit

Permalink
Static properties serialization fix - update.
Browse files Browse the repository at this point in the history
  • Loading branch information
p-bystritsky authored and engcom-Foxtrot committed Mar 18, 2020
1 parent 9383fe1 commit 3343d81
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions dev/tests/integration/etc/di/preferences/ce.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
\Magento\Framework\App\Response\Http::class => \Magento\TestFramework\Response::class,
\Magento\Framework\Interception\PluginListInterface::class =>
\Magento\TestFramework\Interception\PluginList::class,
\Magento\Framework\Serialize\SerializerInterface::class =>
\Magento\TestFramework\Serialize\Serializer::class,
\Magento\Framework\Interception\ObjectManager\ConfigInterface::class =>
\Magento\TestFramework\ObjectManager\Config::class,
\Magento\Framework\Interception\ObjectManager\Config\Developer::class =>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ public static function backupStaticVariables()

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

if ($cachedProperties) {
Expand Down

0 comments on commit 3343d81

Please sign in to comment.