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]));