Skip to content

Commit 904b752

Browse files
committed
unit test case updated
1 parent 02bacbb commit 904b752

File tree

1 file changed

+1
-4
lines changed
  • app/code/Magento/RemoteStorage/Test/Unit/Driver/Adpater/Cache

1 file changed

+1
-4
lines changed

app/code/Magento/RemoteStorage/Test/Unit/Driver/Adpater/Cache/GenericTest.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,7 @@ protected function setUp(): void
5959
public function testGetMetaData(string $input, ?array $expectedOutput): void
6060
{
6161
$cacheData = include __DIR__ . '/_files/CacheData.php';
62-
$this->serializerMock
63-
->method('unserialize')
64-
->willReturn($cacheData);
65-
$this->generic->setFromStorage(json_encode($cacheData));
62+
$this->generic->setCacheData($cacheData);
6663

6764
$this->assertEquals($expectedOutput, $this->generic->getMetaData($input));
6865
}

0 commit comments

Comments
 (0)