public function FeaturesManagerTest::testMergeInfoArray in Features 8.3
Same name and namespace in other branches
- 8.4 tests/src/Unit/FeaturesManagerTest.php \Drupal\Tests\features\Unit\FeaturesManagerTest::testMergeInfoArray()
The test for merge info array.
@todo This could have of course much more test coverage.
@covers ::mergeInfoArray
@dataProvider providerTestMergeInfoArray
File
- tests/
src/ Unit/ FeaturesManagerTest.php, line 803
Class
- FeaturesManagerTest
- @coversDefaultClass Drupal\features\FeaturesManager @group features
Namespace
Drupal\Tests\features\UnitCode
public function testMergeInfoArray($expected, $info1, $info2, $keys = []) {
$this
->assertSame($expected, $this->featuresManager
->mergeInfoArray($info1, $info2, $keys));
}