|
|
@@ -652,6 +652,7 @@ class ShellTest extends TestCase
|
|
|
->will($this->returnValue(true));
|
|
|
$result = $shell->runCommand(['cakes', '--verbose']);
|
|
|
$this->assertTrue($result);
|
|
|
+ $this->assertEquals('main', $shell->command);
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -670,6 +671,7 @@ class ShellTest extends TestCase
|
|
|
->will($this->returnValue(true));
|
|
|
$result = $shell->runCommand(['hit_me', 'cakes', '--verbose'], true);
|
|
|
$this->assertTrue($result);
|
|
|
+ $this->assertEquals('hit_me', $shell->command);
|
|
|
}
|
|
|
|
|
|
/**
|