Commit f90a77bf authored by Daniel Siepmann's avatar Daniel Siepmann

BUGFIX: Make all tests work again

Use no short array syntax to work on lower php versions.
Also adjust another test case to work again.
parent e1865790
......@@ -66,6 +66,8 @@ class FinderTest extends \PHPUnit_Framework_TestCase
$path . DIRECTORY_SEPARATOR . 'Standard1',
$path . DIRECTORY_SEPARATOR . 'Standard2',
$path . DIRECTORY_SEPARATOR . 'Standard3',
$path . DIRECTORY_SEPARATOR . 'standard_with_ruleset',
$path . DIRECTORY_SEPARATOR . 'standard_with_ruleset_without_name',
);
$this->standardsFactoryMock
......
......@@ -60,20 +60,20 @@ class StandardTest extends \PHPUnit_Framework_TestCase
public function differentStandards()
{
return [
'No Ruleset' => [
return array(
'No Ruleset' => array(
'Standard1',
'Standard1',
],
'Ruleset with name' => [
),
'Ruleset with name' => array(
'standard_with_ruleset',
'CustomStandard',
],
'Ruleset without name' => [
),
'Ruleset without name' => array(
'standard_with_ruleset_without_name',
'standard_with_ruleset_without_name',
],
];
),
);
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment