Skip to content

Commit 9348b1d

Browse files
committed
update cacheTest
1 parent 9177024 commit 9348b1d

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

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

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

2423
/**
2524
* @inheritdoc
@@ -73,11 +72,6 @@ class CacheTest extends TestCase
7372
*/
7473
private $magentoVersion;
7574

76-
/**
77-
* @var DeployInterface
78-
*/
79-
private $stageConfig;
80-
8175
/**
8276
* @inheritdoc
8377
*/
@@ -88,15 +82,13 @@ protected function setUp(): void
8882
$this->configReaderMock = $this->createMock(ConfigReader::class);
8983
$this->cacheConfigMock = $this->createMock(CacheFactory::class);
9084
$this->magentoVersion = $this->createMock(MagentoVersion::class);
91-
$this->stageConfig = $this->createMock(DeployInterface::class);
9285

9386
$this->step = new Cache(
9487
$this->configReaderMock,
9588
$this->configWriterMock,
9689
$this->loggerMock,
9790
$this->cacheConfigMock,
98-
$this->magentoVersion,
99-
$this->stageConfig
91+
$this->magentoVersion
10092
);
10193

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

0 commit comments

Comments
 (0)