Fixing the bake_test_app path, so any remaining file will be removed at the end of the test.

This commit is contained in:
Renan Gonçalves 2011-05-30 21:14:21 +02:00
parent d0af5c78d5
commit 9f9b36830a

View file

@ -115,7 +115,7 @@ class ProjectTaskTest extends CakeTestCase {
* @return void
*/
public function testExecuteWithAbsolutePath() {
$this->Task->args[0] = TMP . 'tests' . DS . 'bake_test';
$this->Task->args[0] = TMP . 'tests' . DS . 'bake_test_app';
$this->Task->params['skel'] = CAKE . 'Console' . DS . 'templates' . DS . 'skel';
$this->Task->expects($this->at(0))->method('in')->will($this->returnValue('y'));
$this->Task->execute();