Skip to content

Commit

Permalink
went missing in the merge
Browse files Browse the repository at this point in the history
from 92d0286
  • Loading branch information
AD7six committed Oct 18, 2011
1 parent a538c5d commit 485c15d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Cake/Test/Case/Console/Command/TestShellTest.php
Expand Up @@ -304,9 +304,9 @@ public function testAvailableCoreCategory() {
$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')
Expand Down

0 comments on commit 485c15d

Please sign in to comment.