mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-03 05:48:11 +08:00
Fixed tests for HHVM (#14941)
This commit is contained in:
committed by
Alexander Makarov
parent
22d453faac
commit
f5c98f9664
@ -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]));
|
||||
|
||||
Reference in New Issue
Block a user