mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fix tests that failed because of CONFIG dir change.
This commit is contained in:
parent
cf679a3233
commit
ef45d24134
1 changed files with 2 additions and 2 deletions
|
@ -102,11 +102,11 @@ class ExtractTaskTest extends CakeTestCase {
|
||||||
$this->assertRegExp($pattern, $result);
|
$this->assertRegExp($pattern, $result);
|
||||||
|
|
||||||
$pattern = '/msgid "The %s is being used for caching. To change the config edit ';
|
$pattern = '/msgid "The %s is being used for caching. To change the config edit ';
|
||||||
$pattern .= 'APP\/config\/core.php "\nmsgstr ""\n/';
|
$pattern .= '%s\/core.php "\nmsgstr ""\n/';
|
||||||
$this->assertRegExp($pattern, $result);
|
$this->assertRegExp($pattern, $result);
|
||||||
|
|
||||||
$pattern = '/msgid "Your cache is NOT working. Please check ';
|
$pattern = '/msgid "Your cache is NOT working. Please check ';
|
||||||
$pattern .= 'the settings in APP\/config\/core.php"\nmsgstr ""\n/';
|
$pattern .= 'the settings in %s\/core.php"\nmsgstr ""\n/';
|
||||||
$this->assertRegExp($pattern, $result);
|
$this->assertRegExp($pattern, $result);
|
||||||
|
|
||||||
$pattern = '/msgid "Your database configuration file is present."\nmsgstr ""\n/';
|
$pattern = '/msgid "Your database configuration file is present."\nmsgstr ""\n/';
|
||||||
|
|
Loading…
Reference in a new issue