mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
remove translation from this test
you can't compare the result of a translation to a fixed string and be sure it's going to pass.
This commit is contained in:
parent
128407fb4a
commit
d66ad0bc60
1 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ class HelpFormatterTest extends CakeTestCase {
|
|||
*/
|
||||
function testWidthFormatting() {
|
||||
$parser = new ConsoleOptionParser('test', false);
|
||||
$parser->description(__d('cake', 'This is fifteen This is fifteen This is fifteen'))
|
||||
$parser->description('This is fifteen This is fifteen This is fifteen')
|
||||
->addOption('four', array('help' => 'this is help text this is help text'))
|
||||
->addArgument('four', array('help' => 'this is help text this is help text'))
|
||||
->addSubcommand('four', array('help' => 'this is help text this is help text'));
|
||||
|
@ -437,4 +437,4 @@ TEXT;
|
|||
$result = $formatter->xml(false);
|
||||
$this->assertInstanceOf('SimpleXmlElement', $result);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue