mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-03-17 15:09:50 +00:00
Removing getTests. Fixing failing test.
This commit is contained in:
parent
cd14874b59
commit
1e1671ab7f
1 changed files with 1 additions and 4 deletions
|
@ -135,7 +135,7 @@ class ExtractTaskTest extends CakeTestCase {
|
||||||
$this->assertPattern($pattern, $result);
|
$this->assertPattern($pattern, $result);
|
||||||
|
|
||||||
$pattern = '/\#: (\\\\|\/)extract\.ctp:14\n';
|
$pattern = '/\#: (\\\\|\/)extract\.ctp:14\n';
|
||||||
$pattern .= '\#: (\\\\|\/)home\.ctp:74\n';
|
$pattern .= '\#: (\\\\|\/)home\.ctp:77\n';
|
||||||
$pattern .= 'msgid "Editing this Page"\nmsgstr ""/';
|
$pattern .= 'msgid "Editing this Page"\nmsgstr ""/';
|
||||||
$this->assertPattern($pattern, $result);
|
$this->assertPattern($pattern, $result);
|
||||||
|
|
||||||
|
@ -167,9 +167,6 @@ class ExtractTaskTest extends CakeTestCase {
|
||||||
$Folder = new Folder($path);
|
$Folder = new Folder($path);
|
||||||
$Folder->delete();
|
$Folder->delete();
|
||||||
}
|
}
|
||||||
function getTests() {
|
|
||||||
return array('start', 'startCase', 'testExecute', 'testExtractMultiplePaths', 'endCase', 'end');
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* test extract can read more than one path.
|
* test extract can read more than one path.
|
||||||
|
|
Loading…
Add table
Reference in a new issue