Fixed tests for HHVM (#14941)

This commit is contained in:
octicon-git-branch(16/)
octicon-tag(16/)
Robert Korulczyk
2017-10-07 20:13:11 +02:00
committed by Alexander Makarov
gitea-unlock(16/)
parent 22d453faac
commit f5c98f9664

4
tests/framework/console/controllers/BaseMessageControllerTest.php
View File

@@ -484,7 +484,7 @@ abstract class BaseMessageControllerTest extends TestCase
*/ */
public function testShouldNotMarkUnused() public function testShouldNotMarkUnused()
{ {
$category = 'my'; $category = 'testShouldNotMarkUnused';
$key1 = 'key1'; $key1 = 'key1';
$key2 = 'key2'; $key2 = 'key2';
@@ -497,7 +497,7 @@ abstract class BaseMessageControllerTest extends TestCase
$category $category
); );
$sourceFileContent = 'Yii::t("my", "test");'; $sourceFileContent = 'Yii::t("testShouldNotMarkUnused", "test");';
$this->createSourceFile($sourceFileContent); $this->createSourceFile($sourceFileContent);
$this->saveConfigFile($this->getConfig(['markUnused' => false])); $this->saveConfigFile($this->getConfig(['markUnused' => false]));