Removing getTests. Fixing failing test.

This commit is contained in:
mark_story 2011-09-08 19:53:38 -04:00
parent cd14874b59
commit 1e1671ab7f

View file

@ -135,7 +135,7 @@ class ExtractTaskTest extends CakeTestCase {
$this->assertPattern($pattern, $result);
$pattern = '/\#: (\\\\|\/)extract\.ctp:14\n';
$pattern .= '\#: (\\\\|\/)home\.ctp:74\n';
$pattern .= '\#: (\\\\|\/)home\.ctp:77\n';
$pattern .= 'msgid "Editing this Page"\nmsgstr ""/';
$this->assertPattern($pattern, $result);
@ -167,9 +167,6 @@ class ExtractTaskTest extends CakeTestCase {
$Folder = new Folder($path);
$Folder->delete();
}
function getTests() {
return array('start', 'startCase', 'testExecute', 'testExtractMultiplePaths', 'endCase', 'end');
}
/**
* test extract can read more than one path.