|
|
@@ -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');
|