Browse Source

Fixed tests for HHVM (#14941)

tags/2.0.13
Robert Korulczyk 7 years ago committed by Alexander Makarov
parent
commit
f5c98f9664
  1. 4
      tests/framework/console/controllers/BaseMessageControllerTest.php

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

Loading…
Cancel
Save