From f5c98f96643d67fb596d6b2cc3aa378eb134dbb5 Mon Sep 17 00:00:00 2001 From: Robert Korulczyk Date: Sat, 7 Oct 2017 20:13:11 +0200 Subject: [PATCH] Fixed tests for HHVM (#14941) --- .../console/controllers/BaseMessageControllerTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/framework/console/controllers/BaseMessageControllerTest.php b/tests/framework/console/controllers/BaseMessageControllerTest.php index 3a5a91fdb9..71c0147b9e 100644 --- a/tests/framework/console/controllers/BaseMessageControllerTest.php +++ b/tests/framework/console/controllers/BaseMessageControllerTest.php @@ -484,7 +484,7 @@ abstract class BaseMessageControllerTest extends TestCase */ public function testShouldNotMarkUnused() { - $category = 'my'; + $category = 'testShouldNotMarkUnused'; $key1 = 'key1'; $key2 = 'key2'; @@ -497,7 +497,7 @@ abstract class BaseMessageControllerTest extends TestCase $category ); - $sourceFileContent = 'Yii::t("my", "test");'; + $sourceFileContent = 'Yii::t("testShouldNotMarkUnused", "test");'; $this->createSourceFile($sourceFileContent); $this->saveConfigFile($this->getConfig(['markUnused' => false]));