mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fix failing test with controller task listAll
This commit is contained in:
parent
4dd532d3a9
commit
cbf5328b33
1 changed files with 4 additions and 4 deletions
|
@ -117,10 +117,10 @@ class ControllerTaskTest extends CakeTestCase {
|
|||
|
||||
$this->Task->connection = 'test';
|
||||
$this->Task->interactive = true;
|
||||
$this->Task->expects($this->at(1))->method('out')->with('1. BakeArticles');
|
||||
$this->Task->expects($this->at(2))->method('out')->with('2. BakeArticlesBakeTags');
|
||||
$this->Task->expects($this->at(3))->method('out')->with('3. BakeComments');
|
||||
$this->Task->expects($this->at(4))->method('out')->with('4. BakeTags');
|
||||
$this->Task->expects($this->at(2))->method('out')->with(' 1. BakeArticles');
|
||||
$this->Task->expects($this->at(3))->method('out')->with(' 2. BakeArticlesBakeTags');
|
||||
$this->Task->expects($this->at(4))->method('out')->with(' 3. BakeComments');
|
||||
$this->Task->expects($this->at(5))->method('out')->with(' 4. BakeTags');
|
||||
|
||||
$expected = array('BakeArticles', 'BakeArticlesBakeTags', 'BakeComments', 'BakeTags');
|
||||
$result = $this->Task->listAll('test');
|
||||
|
|
Loading…
Reference in a new issue