public function PackageTest::testGetConfig in Features 8.3
Same name and namespace in other branches
- 8.4 tests/src/Unit/PackageTest.php \Drupal\Tests\features\Unit\PackageTest::testGetConfig()
File
- tests/
src/ Unit/ PackageTest.php, line 76
Class
- PackageTest
- @coversDefaultClass \Drupal\features\Package @group features
Namespace
Drupal\Tests\features\UnitCode
public function testGetConfig() {
$package = new Package('test_feature', [
'config' => [
'test_config_a',
'test_config_b',
],
]);
$this
->assertEquals([
'test_config_a',
'test_config_b',
], $package
->getConfig());
return $package;
}