Browse Source

Use unparsed strings for mock file data

microsub
J. King 7 years ago
parent
commit
9bffb46aa8
  1. 2
      locale/en.php
  2. 2
      tests/TestConf.php

2
locale/en.php

@ -1,6 +1,6 @@
<?php
return [
'Exception.JKingWeb/NewsSync/Exception.uncoded' => 'The specified exception symbol {0} has no code specified in Exception.php',
'Exception.JKingWeb/NewsSync/Exception.uncoded' => 'The specified exception symbol {0} has no code specified in Exception.php',
'Exception.JKingWeb/NewsSync/Lang/Exception.defaultFileMissing' => 'Default language file "{0}" missing',
'Exception.JKingWeb/NewsSync/Lang/Exception.fileMissing' => 'Language file "{0}" is not available',

2
tests/TestConf.php

@ -15,7 +15,7 @@ class TestConf extends \PHPUnit\Framework\TestCase {
touch($vfs."/".$file);
}
chmod($vfs."/confUnreadable", 0000);
$validConf = <<<VALID_CONFIGURATION_FILE
$validConf = <<<'VALID_CONFIGURATION_FILE'
<?php
return Array(
"lang" => "xx"

Loading…
Cancel
Save