Skip to content

Commit

Permalink
Adjust test since we do not spam our users anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
rchavik committed Jul 9, 2017
1 parent 41ea068 commit c500f07
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion tests/TestCase/Console/CommandRunnerTest.php
Expand Up @@ -201,7 +201,6 @@ public function testRunValidCommand()

$contents = implode("\n", $output->messages());
$this->assertContains('URI template', $contents);
$this->assertContains('Welcome to CakePHP', $contents);
}

/**
Expand Down
5 changes: 0 additions & 5 deletions tests/TestCase/Console/ShellTest.php
Expand Up @@ -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.');
Expand Down
2 changes: 0 additions & 2 deletions tests/TestCase/TestSuite/ConsoleIntegrationTestCaseTest.php
Expand Up @@ -43,7 +43,6 @@ public function testExecWithCommandRunner()

$this->exec('routes');

$this->assertOutputContains('Welcome to CakePHP');
$this->assertExitCode(Shell::CODE_SUCCESS);
}

Expand All @@ -69,7 +68,6 @@ public function testExecCoreCommand()
{
$this->exec('routes');

$this->assertOutputContains('Welcome to CakePHP');
$this->assertExitCode(Shell::CODE_SUCCESS);
}

Expand Down

0 comments on commit c500f07

Please sign in to comment.