File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
src/Test/Unit/Step/Deploy/PreDeploy/ConfigUpdate Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change 19
19
use PHPUnit \Framework \TestCase ;
20
20
use Psr \Log \LoggerInterface ;
21
21
use Magento \MagentoCloud \Package \MagentoVersion ;
22
- use Magento \MagentoCloud \Config \Stage \DeployInterface ;
23
22
24
23
/**
25
24
* @inheritdoc
@@ -73,11 +72,6 @@ class CacheTest extends TestCase
73
72
*/
74
73
private $ magentoVersion ;
75
74
76
- /**
77
- * @var DeployInterface
78
- */
79
- private $ stageConfig ;
80
-
81
75
/**
82
76
* @inheritdoc
83
77
*/
@@ -88,15 +82,13 @@ protected function setUp(): void
88
82
$ this ->configReaderMock = $ this ->createMock (ConfigReader::class);
89
83
$ this ->cacheConfigMock = $ this ->createMock (CacheFactory::class);
90
84
$ this ->magentoVersion = $ this ->createMock (MagentoVersion::class);
91
- $ this ->stageConfig = $ this ->createMock (DeployInterface::class);
92
85
93
86
$ this ->step = new Cache (
94
87
$ this ->configReaderMock ,
95
88
$ this ->configWriterMock ,
96
89
$ this ->loggerMock ,
97
90
$ this ->cacheConfigMock ,
98
- $ this ->magentoVersion ,
99
- $ this ->stageConfig
91
+ $ this ->magentoVersion
100
92
);
101
93
102
94
$ this ->socketCreateMock = $ this ->getFunctionMock (
You can’t perform that action at this time.
0 commit comments