fixed array definition [ into test for php 5.3

This commit is contained in:
Fabio Del Bene 2016-11-24 10:50:46 +01:00
parent 827836ccb4
commit 71bba4b7a2

View file

@ -76,14 +76,14 @@ class ApplyFaclsTaskTest extends PHPUnit_Framework_TestCase
public function provider_createFaclsCommand() public function provider_createFaclsCommand()
{ {
return [ return array(
'no facls options' => [ 'no facls options' => array(
'', 'www-data', 'deployer', 'var', 'setfacl -m u:www-data:rwX -m u:deployer:rwX var' '', 'www-data', 'deployer', 'var', 'setfacl -m u:www-data:rwX -m u:deployer:rwX var'
], ),
'with facls options' => [ 'with facls options' => array(
'-dR', 'www-data', 'deployer', 'var', 'setfacl -dR -m u:www-data:rwX -m u:deployer:rwX var' '-dR', 'www-data', 'deployer', 'var', 'setfacl -dR -m u:www-data:rwX -m u:deployer:rwX var'
] )
]; );
} }
/** /**