Fix tests that failed because of CONFIG dir change.

This commit is contained in:
mark_story 2017-06-10 17:31:29 -04:00
parent cf679a3233
commit ef45d24134

View file

@ -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/';