mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-15 05:53:13 +00:00
Use short array declaration
This commit is contained in:
@@ -20,7 +20,7 @@ class module_console_aboutLicenseTest extends PHPUnit_Framework_TestCase
|
||||
|
||||
$command = $application['console']->find('about:license');
|
||||
$commandTester = new CommandTester($command);
|
||||
$commandTester->execute(array('command' => $command->getName()));
|
||||
$commandTester->execute(['command' => $command->getName()]);
|
||||
|
||||
$this->assertEquals(
|
||||
trim(file_get_contents(__DIR__ . '/../../../../LICENSE'))
|
||||
|
Reference in New Issue
Block a user