mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Updating merged tests from 1.3
This commit is contained in:
parent
fbc84cb89b
commit
b15948c3bc
1 changed files with 2 additions and 5 deletions
|
@ -149,9 +149,6 @@ class ExtractTaskTest extends CakeTestCase {
|
||||||
$Folder = new Folder($path);
|
$Folder = new Folder($path);
|
||||||
$Folder->delete();
|
$Folder->delete();
|
||||||
}
|
}
|
||||||
function getTests() {
|
|
||||||
return array('start', 'startCase', 'testExtractMultiplePaths', 'endCase', 'end');
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* test extract can read more than one path.
|
* test extract can read more than one path.
|
||||||
|
@ -169,8 +166,8 @@ class ExtractTaskTest extends CakeTestCase {
|
||||||
TEST_CAKE_CORE_INCLUDE_PATH . 'tests' . DS . 'test_app' . DS . 'views' . DS . 'posts';
|
TEST_CAKE_CORE_INCLUDE_PATH . 'tests' . DS . 'test_app' . DS . 'views' . DS . 'posts';
|
||||||
|
|
||||||
$this->Task->params['output'] = $path . DS;
|
$this->Task->params['output'] = $path . DS;
|
||||||
$this->Task->Dispatch->expectNever('stderr');
|
$this->Task->Dispatch->expects($this->never())->method('stderr');
|
||||||
$this->Task->Dispatch->expectNever('_stop');
|
$this->Task->Dispatch->expects($this->never())->method('_stop');
|
||||||
$this->Task->execute();
|
$this->Task->execute();
|
||||||
|
|
||||||
$result = file_get_contents($path . DS . 'default.pot');
|
$result = file_get_contents($path . DS . 'default.pot');
|
||||||
|
|
Loading…
Reference in a new issue