function ComposerPatchesValidatorTest::setUp
Overrides PackageManagerKernelTestBase::setUp
File
-
core/
modules/ package_manager/ tests/ src/ Kernel/ ComposerPatchesValidatorTest.php, line 33
Class
- ComposerPatchesValidatorTest
- @covers \Drupal\package_manager\Validator\ComposerPatchesValidator @group package_manager @group #slow @internal
Namespace
Drupal\Tests\package_manager\KernelCode
protected function setUp() : void {
parent::setUp();
// The composer-patches plugin is not allowed by default.
$this->config('package_manager.settings')
->set('additional_trusted_composer_plugins', [
'cweagans/composer-patches',
])
->save();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.