File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/Test/Unit/Command/Wizard Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ public function testExecute()
55
55
$ inputMock = $ this ->getMockForAbstractClass (InputInterface::class);
56
56
$ outputMock = $ this ->getMockForAbstractClass (OutputInterface::class);
57
57
58
- $ this ->deployConfigMock ->expects ($ this ->exactly (2 ))
58
+ $ this ->deployConfigMock ->expects ($ this ->exactly (3 ))
59
59
->method ('get ' )
60
60
->willReturnMap ([
61
61
[DeployInterface::VAR_REDIS_USE_SLAVE_CONNECTION , true ],
@@ -82,14 +82,14 @@ public function testExecuteWithErrors()
82
82
[$ outputMock , 'Valkey slave connection is not configured ' ]
83
83
];
84
84
85
- $ this ->deployConfigMock ->expects ($ this ->exactly (2 ))
85
+ $ this ->deployConfigMock ->expects ($ this ->exactly (3 ))
86
86
->method ('get ' )
87
87
->willReturnMap ([
88
88
[DeployInterface::VAR_REDIS_USE_SLAVE_CONNECTION , false ],
89
89
[DeployInterface::VAR_VALKEY_USE_SLAVE_CONNECTION , false ],
90
90
[DeployInterface::VAR_MYSQL_USE_SLAVE_CONNECTION , false ],
91
91
]);
92
- $ this ->outputFormatterMock ->expects ($ this ->exactly (2 ))
92
+ $ this ->outputFormatterMock ->expects ($ this ->exactly (3 ))
93
93
->method ('writeItem ' )
94
94
->willReturnCallback (function (...$ args ) use (&$ series ) {
95
95
$ expectedArgs = array_shift ($ series );
You can’t perform that action at this time.
0 commit comments