[DependencyInjection] Remove YAML check in CrossCheckTest
This commit is contained in:
parent
03aa64ad25
commit
af922758f4
@ -73,24 +73,17 @@ class CrossCheckTest extends \PHPUnit_Framework_TestCase
|
|||||||
|
|
||||||
public function crossCheckLoadersDumpers()
|
public function crossCheckLoadersDumpers()
|
||||||
{
|
{
|
||||||
$tests = array(
|
return array(
|
||||||
array('services1.xml', 'xml'),
|
array('services1.xml', 'xml'),
|
||||||
array('services2.xml', 'xml'),
|
array('services2.xml', 'xml'),
|
||||||
array('services6.xml', 'xml'),
|
array('services6.xml', 'xml'),
|
||||||
array('services8.xml', 'xml'),
|
array('services8.xml', 'xml'),
|
||||||
array('services9.xml', 'xml'),
|
array('services9.xml', 'xml'),
|
||||||
);
|
|
||||||
|
|
||||||
if (class_exists('Symfony\Component\Yaml\Yaml')) {
|
|
||||||
$tests = array_merge($tests, array(
|
|
||||||
array('services1.yml', 'yaml'),
|
array('services1.yml', 'yaml'),
|
||||||
array('services2.yml', 'yaml'),
|
array('services2.yml', 'yaml'),
|
||||||
array('services6.yml', 'yaml'),
|
array('services6.yml', 'yaml'),
|
||||||
array('services8.yml', 'yaml'),
|
array('services8.yml', 'yaml'),
|
||||||
array('services9.yml', 'yaml'),
|
array('services9.yml', 'yaml'),
|
||||||
));
|
);
|
||||||
}
|
|
||||||
|
|
||||||
return $tests;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user