Skip to content

Commit 440afda

Browse files
committed
Revert "update cacheTest"
This reverts commit 9348b1d.
1 parent 9348b1d commit 440afda

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/Test/Unit/Step/Deploy/PreDeploy/ConfigUpdate/CacheTest.php

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
use PHPUnit\Framework\TestCase;
2020
use Psr\Log\LoggerInterface;
2121
use Magento\MagentoCloud\Package\MagentoVersion;
22+
use Magento\MagentoCloud\Config\Stage\DeployInterface;
2223

2324
/**
2425
* @inheritdoc
@@ -72,6 +73,11 @@ class CacheTest extends TestCase
7273
*/
7374
private $magentoVersion;
7475

76+
/**
77+
* @var DeployInterface
78+
*/
79+
private $stageConfig;
80+
7581
/**
7682
* @inheritdoc
7783
*/
@@ -82,13 +88,15 @@ protected function setUp(): void
8288
$this->configReaderMock = $this->createMock(ConfigReader::class);
8389
$this->cacheConfigMock = $this->createMock(CacheFactory::class);
8490
$this->magentoVersion = $this->createMock(MagentoVersion::class);
91+
$this->stageConfig = $this->createMock(DeployInterface::class);
8592

8693
$this->step = new Cache(
8794
$this->configReaderMock,
8895
$this->configWriterMock,
8996
$this->loggerMock,
9097
$this->cacheConfigMock,
91-
$this->magentoVersion
98+
$this->magentoVersion,
99+
$this->stageConfig
92100
);
93101

94102
$this->socketCreateMock = $this->getFunctionMock(

0 commit comments

Comments
 (0)