Skip to content

Commit 082bf48

Browse files
committed
[DependencyInjection] Remove YAML check in CrossCheckTest
1 parent 3ccd773 commit 082bf48

File tree

1 file changed

+6
-13
lines changed

1 file changed

+6
-13
lines changed

Tests/CrossCheckTest.php

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -73,24 +73,17 @@ public function testCrossCheck($fixture, $type)
7373

7474
public function crossCheckLoadersDumpers()
7575
{
76-
$tests = array(
76+
return array(
7777
array('services1.xml', 'xml'),
7878
array('services2.xml', 'xml'),
7979
array('services6.xml', 'xml'),
8080
array('services8.xml', 'xml'),
8181
array('services9.xml', 'xml'),
82+
array('services1.yml', 'yaml'),
83+
array('services2.yml', 'yaml'),
84+
array('services6.yml', 'yaml'),
85+
array('services8.yml', 'yaml'),
86+
array('services9.yml', 'yaml'),
8287
);
83-
84-
if (class_exists('Symfony\Component\Yaml\Yaml')) {
85-
$tests = array_merge($tests, array(
86-
array('services1.yml', 'yaml'),
87-
array('services2.yml', 'yaml'),
88-
array('services6.yml', 'yaml'),
89-
array('services8.yml', 'yaml'),
90-
array('services9.yml', 'yaml'),
91-
));
92-
}
93-
94-
return $tests;
9588
}
9689
}

0 commit comments

Comments
 (0)