went missing in the merge

from 92d028630c
This commit is contained in:
AD7six 2011-10-18 17:49:52 +02:00
parent a538c5d220
commit 485c15d55d

View file

@ -304,9 +304,9 @@ class TestShellTest extends CakeTestCase {
$this->Shell->args = array('core');
$this->Shell->expects($this->at(0))->method('out')->with('Core Test Cases:');
$this->Shell->expects($this->at(1))->method('out')
->with(new PHPUnit_Framework_Constraint_PCREMatch('/\[1\].*/'));
->with($this->stringContains('[1]'));
$this->Shell->expects($this->at(2))->method('out')
->with(new PHPUnit_Framework_Constraint_PCREMatch('/\[2\].*/'));
->with($this->stringContains('[2]'));
$this->Shell->expects($this->once())->method('in')
->with(__d('cake_console', 'What test case would you like to run?'), null, 'q')