We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c45ef12 commit 38e611dCopy full SHA for 38e611d
1 file changed
tests/TestCase/Shell/ConfigReadShellTest.php
@@ -203,7 +203,7 @@ protected function getSUTClassName() {
203
*/
204
protected function initSUT($additionalMocks = []) {
205
$defaultMocks = [
206
- '_displayHelp', 'error',
+ '_displayHelp', 'abort',
207
];
208
209
$this->io = $this->getMockBuilder('\Cake\Console\ConsoleIo')
@@ -222,7 +222,7 @@ protected function initSUT($additionalMocks = []) {
222
->getMock();
223
224
$shell->expects($this->any())
225
- ->method('error')
+ ->method('abort')
226
->with($this->anything())
227
->will($this->returnCallback([$this, 'outputCollector']));
228
$shell->OptionParser = $this->getMockBuilder('\Cake\Console\ConsoleOptionParser')
0 commit comments