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