diff --git a/tests/TestCase/Console/CommandRunnerTest.php b/tests/TestCase/Console/CommandRunnerTest.php index 820db756586..6dd27a19558 100644 --- a/tests/TestCase/Console/CommandRunnerTest.php +++ b/tests/TestCase/Console/CommandRunnerTest.php @@ -201,7 +201,6 @@ public function testRunValidCommand() $contents = implode("\n", $output->messages()); $this->assertContains('URI template', $contents); - $this->assertContains('Welcome to CakePHP', $contents); } /** diff --git a/tests/TestCase/Console/ShellTest.php b/tests/TestCase/Console/ShellTest.php index 125ca08a952..6c955ebb9c1 100644 --- a/tests/TestCase/Console/ShellTest.php +++ b/tests/TestCase/Console/ShellTest.php @@ -1162,11 +1162,6 @@ public function testRunCommandInvokeTask() $task->expects($this->never()) ->method('_welcome'); - // One welcome message output. - $io->expects($this->at(2)) - ->method('out') - ->with($this->stringContains('Welcome to CakePHP')); - $shell->Slice = $task; $shell->runCommand(['slice', 'one']); $this->assertTrue($task->params['requested'], 'Task is requested, no welcome.'); diff --git a/tests/TestCase/TestSuite/ConsoleIntegrationTestCaseTest.php b/tests/TestCase/TestSuite/ConsoleIntegrationTestCaseTest.php index 39ccc85f6c5..f6117ade5ce 100644 --- a/tests/TestCase/TestSuite/ConsoleIntegrationTestCaseTest.php +++ b/tests/TestCase/TestSuite/ConsoleIntegrationTestCaseTest.php @@ -43,7 +43,6 @@ public function testExecWithCommandRunner() $this->exec('routes'); - $this->assertOutputContains('Welcome to CakePHP'); $this->assertExitCode(Shell::CODE_SUCCESS); } @@ -69,7 +68,6 @@ public function testExecCoreCommand() { $this->exec('routes'); - $this->assertOutputContains('Welcome to CakePHP'); $this->assertExitCode(Shell::CODE_SUCCESS); }