mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-02-07 12:36:25 +00:00
parent
a538c5d220
commit
485c15d55d
1 changed files with 2 additions and 2 deletions
|
@ -304,9 +304,9 @@ class TestShellTest extends CakeTestCase {
|
||||||
$this->Shell->args = array('core');
|
$this->Shell->args = array('core');
|
||||||
$this->Shell->expects($this->at(0))->method('out')->with('Core Test Cases:');
|
$this->Shell->expects($this->at(0))->method('out')->with('Core Test Cases:');
|
||||||
$this->Shell->expects($this->at(1))->method('out')
|
$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')
|
$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')
|
$this->Shell->expects($this->once())->method('in')
|
||||||
->with(__d('cake_console', 'What test case would you like to run?'), null, 'q')
|
->with(__d('cake_console', 'What test case would you like to run?'), null, 'q')
|
||||||
|
|
Loading…
Add table
Reference in a new issue