From ef45d241346c360a2c8e882237f29f2fe4dead0f Mon Sep 17 00:00:00 2001 From: mark_story Date: Sat, 10 Jun 2017 17:31:29 -0400 Subject: [PATCH] Fix tests that failed because of CONFIG dir change. --- lib/Cake/Test/Case/Console/Command/Task/ExtractTaskTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Cake/Test/Case/Console/Command/Task/ExtractTaskTest.php b/lib/Cake/Test/Case/Console/Command/Task/ExtractTaskTest.php index ab13f1b45..4da03d5d0 100644 --- a/lib/Cake/Test/Case/Console/Command/Task/ExtractTaskTest.php +++ b/lib/Cake/Test/Case/Console/Command/Task/ExtractTaskTest.php @@ -102,11 +102,11 @@ class ExtractTaskTest extends CakeTestCase { $this->assertRegExp($pattern, $result); $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); $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); $pattern = '/msgid "Your database configuration file is present."\nmsgstr ""\n/';